Replacing list control in a dropdown ComboBox
Posted on 1998-09-25
I am trying to replace the listctrl in a CComboBox with my own dropdown window. I am handling the CB_SHOWDROPDOWN, CBN_DROPDOWN, and CBN_CLOSEUP messages and most of the time everything works perfectly. However, the listctrl will still popup randomly. Is there an easy way to get a HWND to the listctrl, or is there something else I am missing? I have traced through the messages with Spy++ and don't see anything. Thanks.