I have an MFC Dll created in VS2005. In this dll, I have a dialog (CDialog) that has a few controls, including a combo box.
In the resource editor, I've dragged (expanded out) the list portion of the combo box to about an inch tall, so it can display several combo items when selected. I then set the style to "Drop List". At run time, I populate the combo box with several strings. However, when I click the combo box's arrow, it doesn't spawn the drop list. Instead, I only see the currently selected combo item. I have already tested at runtime to ensure there are several combo items in the combo box, using myComboBox.GetCount(). There are 4 combo items as I expect there to be. I've put a debugger stop in the message handler that handles the ON_CBN_SELCHANGE message. However, this message handler NEVER GETS CALLED. I'm sure this is a big clue as to what's going on. I've also (in an attempt to debug) handle the set focus message for the combo box. This message handler DOES get called. So I know that the debugger is recognizing my combo box control variable myComboBox.
Not sure if this is issue is directly related to the MFC dll, or whether it might also exist in a 2005 MFC application.
By the way, the combo box is on a basic dialog (derived from CDialog). Nothing fancy going on there.
Any help would be greatly appreciated.