Avatar of APlusComp247
APlusComp247 asked on

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!
System Programming

Avatar of undefined
Last Comment

8/22/2022 - Mon

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.)

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question


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.

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.
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy

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?


I would really preffer to have a real combo dropdown that makes sub menus.

I still think a tree control would be fine.
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.

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.