Message being 'eaten' by reflect macro
Posted on 2003-12-09
I have a customised CEdit based class with a reflaect handler for the WM_KILLFOCUS message
In my dialog I have a control subclassed (via DDX, DDX_Control(pDX, IDC_DATE1, m_ctlDateBooking) ) and a message handler for the KillFocus
However the OnKillfocusDateBooking in the dialog is never called, the reflected message handler is. My understanding of the reflect is that the dialog should be given first crack at the message (I would want BOTH handlers to be called ideally but I can live with an extra line of code in the dialog to specifically call the fn in the edit based class).