I've created a combobox with the CBS_DROPDOWNLIST style, and added some strings with CB_ADDSTRING.
The strings are loaded in the combobox, but it won't drop down. It works fine in Windows XP, but the problem is coming in Windows 98. Anybody have any ideas?
Re: Combobox dropdown
Isn't it funny how you can spend 3 days searching for something, then finally post the question, only to find the answer minutes later? :)
Anyway, in case anyone is interested, when you specify the height of your combo box, it includes the visible part and the dropdown part. So if you enter 20 as your cb's height as I did, the dropdown list will not show up, because the height doesn't include enough room for it. Change the height to 200 (or the total height you want) and everything works.