Solved

Popup ComboBox

Posted on 2004-04-01
9
445 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
  • 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
 
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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Need a Shell script to start a service checking the port 6 48
ADO Memory leak with DELPHI 2007 37 171
wait notify demo infinite loop 3 96
unix example issues 18 75
Introduction: Ownerdraw of the grid button.  A singleton class implentation and usage. Continuing from the fifth article about sudoku.   Open the project in visual studio. Go to the class view – CGridButton should be visible as a class.  R…
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…
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.
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …

920 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now