EN_KILLFOCUS This code is sent to the parent window through a WM_COMMAND message. It is sent when the edit control loses input focus. Parameters wParam is the id of the edit control. LOWORD(lParam) is the handle of the edit control. HIWORD(lParam) is the EN_KILLFOCUS code.