Archived

This topic is now archived and is closed to further replies.

Pho

ComboBox on Toolbar

Recommended Posts

Pho    122
Hello everyone. I hope someone can help me. I am unable to successfully implement a simple ‘CBS_DROPDOWNLIST’ combobox inside the toolbar through the Win32 API and VC6++. I know how to create a combobox, add strings to it and place it inside the toolbar but this is where problems begin. When I click the dropdown arrow button, an empty list box appears. The strings are in it but they are not visible. If I scroll the list box with the keyboard arrow keys, strings appear one by one. Also, I am unable to close the listbox with the mouse, only by clicking the ENTER key. Mouse movement over the listbox doesn’t highlight anything. I’ve searched the web for tutorials on this subject, but it seems that they are all oriented on MFC. Has anyone been successful in implementing it through the Win32 API?

Share this post


Link to post
Share on other sites