Hi,
I'm using MFC, and I need to make the combo box drop down list to be draw up - above the contro, instead of below it.
Does anyone know how to make this happen?
Thanks,
yakobom
Printable View
Hi,
I'm using MFC, and I need to make the combo box drop down list to be draw up - above the contro, instead of below it.
Does anyone know how to make this happen?
Thanks,
yakobom
AFAIK Windows itself chooses how to display the combobox dropdown control (below or above) depending on the current combobox position on the screen.
Yes, I know - but I still need it... Windows cannot know that it drops down on something that the user needs to see and use at that moment... And I'm trying to find a way rather then implementing my own drop window.
yakobom
subclass the listbox that's being created, and move if to where you want. You could even have it anywhere on the screen (although that won't be handy :p)
You can use GetComboBoxInfo to get the handle of the listbox.