Solved

Popup ComboBox

Posted on 2004-04-01
9
456 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 500 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

Technology Partners: 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!

Question has a verified solution.

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

Introduction: Hints for the grid button.  Nested classes, templated collections.  Squash that darned bug! Continuing from the sixth article about sudoku.   Open the project in visual studio. First we will finish with the SUD_SETVALUE messa…
In this post we will learn different types of Android Layout and some basics of an Android App.
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.
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …

726 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