Link to home
Start Free TrialLog in
Avatar of roelf
roelf

asked on

Weird CComboBox OnDropDown problem

null
ASKER CERTIFIED SOLUTION
Avatar of gelbert
gelbert

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of roelf
roelf

ASKER

I have tried using PostMessage() in the OnDropdownCombo1() function
to call another function to display the messagebox.  The messagebox
comes up allright, but then the list part of the combobox closes,
so no item can be selected.
IF you want to have open listbox part ob combobox after message box is closed then as soon as user press "OK" on your message box, send CBN_DROPDOWN message to combobox class to reopen list box and not to display message box this time.
Avatar of roelf

ASKER

I can do that, but it seems to be such a schlep to keep track of
is this the first ONDROPDOWN or the second one, etc...

Thanks anyway - at least I can get it working now.