I have used something like the following: In the parent's message map include REFLECT_NOTIFICATIONS() like: BEGIN_MSG_MAP(CMainFrame) REFLECT_NOTIFICATIONS() ... END_MSG_MSP() And in the child message map do something like: BEGIN_MSG_MAP(CChildWindow) MSG_OCM_NOTIFY(OnNotify) DEFAULT_REFLECTION_HANDLER() END_MSG_MAP() This has worked for me. The MSG_OCM_NOTIFY is from WTL enhanced message crackers in atlcrack.h. Good Luck, Tom Rieck
T
Thomas A Rieck
@Thomas A Rieck
Posts
-
Message Reflection for WM_CTLCOLORSTATIC -
Message Reflection for WM_CTLCOLORSTATICHave you looked into handling the OCM_CTRLCOLORSTATIC message with reflection?