Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Specialized menu - how to implement

Posted on 2000-04-16
6
Medium Priority
?
248 Views
Last Modified: 2010-04-02
If you open up MS Word in Office 97, and you have the drawing menu bar up, select "LineStyle" and then "More Lines", and a tabbed dialog comes up, titled "Format Autoshape", and in the "Colors and Lines" tab, note  how the combo boxes show bitmaps (or colors) inside instead of text.

Also note when you click the drop down arrow, how the menu appears, with bitmaps, and mouse over highlight.  I need to implement something very similar to this.  Anyone know how they did it ?  There doesn't seem to be any members of the CComboBox class that directly allow you to do the same thing.
0
Comment
Question by:wannabeguru
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
6 Comments
 
LVL 31

Accepted Solution

by:
Zoppo earned 450 total points
ID: 2722061
Hi wannabeguru,

take a look at these URL's, they may help you with this (if you don't have problems using MFC):

http://www.codeguru.com/combobox/FlatComboDemo.shtml
http://www.codeguru.com/combobox/icon_combobox.shtml

hope that helps,

ZOPPO
0
 
LVL 1

Expert Comment

by:Vinay
ID: 2727573
Hello friend,
i have done same type of implimentation in java if u go through it u can write code in  c++ also but what i have done is just menu bar of 3 options with 4 options each & they use to open when mouse goes to them & use to change colour as per mouse pointer & its too smooth..... either i can give u logic or the complete class file! what u want? please write over here or to me at vinusa500@mailcity.com. I fell i can help u.
Love Vinay.
0
 
LVL 1

Expert Comment

by:Vinay
ID: 2727584
oh i have understood ur point little late i can solve this but do just one thing that remove this answer & i will write a new again ok?
Love Vinay
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 

Author Comment

by:wannabeguru
ID: 2729344
Vinay says he/she has a solution, but didn't provide any information about the solution. Some example source code, or step by step description would be helpful.
0
 

Author Comment

by:wannabeguru
ID: 2729349
Thanks Zoppo for the URLs.  I'll check them out.
0
 

Author Comment

by:wannabeguru
ID: 2757794
Thanks Zoppo.  I checked out the URLs and it gave me ideas, but I ended up not using the method they used.  There is a C++ component included with VC 6.0 for OwnerDraw Combo Boxes, and this works fine for being able to select colors from a combo box.  (Go to "Add to Project -> components and controls")

It appears to have promise for  allowing me to add bitmaps as well, although I haven't tried this yet.

Thanks for your efforts !
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Written by John Humphreys C++ Threading and the POSIX Library This article will cover the basic information that you need to know in order to make use of the POSIX threading library available for C and C++ on UNIX and most Linux systems.   [s…
IntroductionThis article is the second in a three part article series on the Visual Studio 2008 Debugger.  It provides tips in setting and using breakpoints. If not familiar with this debugger, you can find a basic introduction in the EE article loc…
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
Suggested Courses

636 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question