?
Solved

Popup ComboBox

Posted on 2004-04-01
9
Medium Priority
?
462 Views
Last Modified: 2013-11-20
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
Comment
Question by:APlusComp247
[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
  • 2
  • +1
9 Comments
 
LVL 44

Expert Comment

by:AndyAinscow
ID: 10738613
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
 
LVL 48

Accepted Solution

by:
AlexFM earned 2000 total points
ID: 10738664
0
 

Author Comment

by:APlusComp247
ID: 10742058
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
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 48

Expert Comment

by:AlexFM
ID: 10742298
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
 
LVL 5

Expert Comment

by:jerry_jeremiah
ID: 10747040
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
 

Author Comment

by:APlusComp247
ID: 10757451
Jerry,
I would really preffer to have a real combo dropdown that makes sub menus.
0
 
LVL 44

Expert Comment

by:AndyAinscow
ID: 11850854
I still think a tree control would be fine.
0
 

Author Comment

by:APlusComp247
ID: 11851584
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

Featured Post

Enroll in August's Course of the Month

August's CompTIA IT Fundamentals course includes 19 hours of basic computer principle modules and prepares you for the certification exam. It's free for Premium Members, Team Accounts, and Qualified Experts!

Question has a verified solution.

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

Introduction: Displaying information on the statusbar.   Continuing from the third article about sudoku.   Open the project in visual studio. Status bar – let’s display the timestamp there.  We need to get the timestamp from the document s…
Introduction: Database storage, where is the exe actually on the disc? Playing a game selected randomly (how to generate random numbers).  Error trapping with try..catch to help the code run even if something goes wrong. Continuing from the seve…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
Suggested Courses

770 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