Hello,
I'm trying to use a custom MFC control (derived from CEdit) on a .net Windows Form but the message handlers (ON_CONTROL_REFLECTION) for EN_KILLFOCUS and EN_SETFOCUS are never called. The only way I can make it work is by adding ON_MESSAGE handlers for WM_KILLFOCUS and WM_SETFOCUS in the custom control and then call the reflection handlers manually from there. There surely must be a different way to do this ?
I've followed the steps from http://bartjolling.blogspot.se/2008/11/developing-windows-forms-control-using.html.
Regards,
Tobias Olofsson