Captrick458
Programmer
I created a combo box, and then modified the declaration to a class derived from ComboBox that I intend to use to get the State portion of an address. (The derived class has only two extra functions, OnGetFocus to populate the box, and OnKillFocus to do some post processing.) I then imported the .cpp and .h files for the class. All is working correctly except that I am unable to catch the KillFocus Message.
The message map has
ON_CONTROL_REFLECT(CBN_KILLFOCUS, OnKillFocus)
and the function OnKillFocus is declared
afx_msg void OnKillfocus();
OnGetFocus works just fine.
Does anyone have any ideas?
The message map has
ON_CONTROL_REFLECT(CBN_KILLFOCUS, OnKillFocus)
and the function OnKillFocus is declared
afx_msg void OnKillfocus();
OnGetFocus works just fine.
Does anyone have any ideas?