views:

20

answers:

1

Hello, Is there a standard way to handle MFC Edit box defocus event? I mean if I click on the box enter something and then move on on the other component handling event gets fired? Thank you for any help!

+1  A: 

Yes, Windows send the WM_KILLFOCUS.

MFC uses the EN_KILLFOCUS for edit boxes, IIRC.

Nick D