CGXControl::OnKillFocus
void OnKillFocus(CWnd* pNewWnd);?
pNewWnd
Specifies the window that receives the input focus (you should pass the pNewWnd of your CWnd::OnKillFocus message).
Remarks
You should call this helper method from your derived CGXControl class when your control is associated with a CWnd (like the CGXEditControl) and the CWnd receives a WM_KILLFOCUS message.
The method sends a WM_KILLFOCUS message to the grid window.
Example
This example shows how you should call this method:
void CGXEditControl::OnKillFocus(CWnd* pNewWnd)
{
CEdit::OnKillFocus(pNewWnd);
CGXControl::OnKillFocus(pNewWnd);
}