Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Custom dropdown window

Status
Not open for further replies.

puzzledbuddy

Programmer
Mar 21, 2009
3
Hello everyone!

I need to create a custom dropdown window (sort of autocomplete), which has the same properties as a combobox dropdown or a menu window. However, I cannot find any info about such windows in MSDN.
So far I was able to create a popup window with styles WS_POPUP, WS_EX_TOPMOST, but it deactivates the main window (unlike the real dropdown or menu window).
I cannot use WS_CHILD because child windows are confined to the client area of the main window.
However, there are a lot of such windows around and they must have some well defined class/style/etc. For example, the drop-down auto-completion box in the "Run application" window.
How can I create one? Are there any code examples?
Please help me, I really need this type of window!

Alex.
 
Ooops... I tried the link, but there are no keywords in it...
So I searched for "combo box" and "type ahead".
Actually, I don't need a combo box, I just need a custom dropdown window like that of a combo box...
Anyway, thanks for the suggestion about the VB forum :)
 
actually the key words used were...

combo sendmessage

Good Luck

 
Thanks, the solution was found!
Here it is,

ShowWindow(SW_SHOWNA);

It's just that simple! :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top