• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 476
  • Last Modified:

Popup ComboBox

I don't know if this can be done or not.  I would like a control like a combo box that lists items, but will scroll out to show subitems like a popup menu would.  Cant this be done.  If so, please elaborate as much as possible because I am still a novice with MFC.

Thanks a lot!
0
APlusComp247
Asked:
APlusComp247
  • 3
  • 2
  • 2
  • +1
1 Solution
 
AndyAinscowFreelance programmer / ConsultantCommented:
Is a tree control not of use to you for this.  (Maybe in a separate modal dialog that you use to select the choice you require.)
0
 
AlexFMCommented:
0
 
APlusComp247Author Commented:
AlexFM

That is similar to what I want, but I really would like a combo box that has popup menus.  When I hover over an item, a new menu will scroll out to the side.
0
Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

 
AlexFMCommented:
This is not exactly what you ask, but...
You can use edit box (read-only or not, depending on your needs) with "..." button near it. When this button is pressed, open popup menu filling it from resources or dynamically. Make this popup menu child of button or edit box. Handle menu selection and set it's result as edit box text.
0
 
jerry_jeremiahCommented:
What if you make a combobox and override the dropdown event and then actually create a popup menu instead of the dropdown.  Then the dropdown would be a menu and it could have sub menus.  Or does it have to be a real combo dropdown that makes sub menus?

Jerry
0
 
APlusComp247Author Commented:
Jerry,
I would really preffer to have a real combo dropdown that makes sub menus.
0
 
AndyAinscowFreelance programmer / ConsultantCommented:
I still think a tree control would be fine.
0
 
APlusComp247Author Commented:
I didn't realize I left this question open so long.  I never really got the answer that I was looking for, but I gave the point to AlexFM because it was the closest thing to what I was looking for.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

  • 3
  • 2
  • 2
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now