BCGSuite for MFC
virtual BOOL CBCGPGridCtrl::CanEndInplaceEditOnChar ( UINT  nChar,
UINT  nRepCnt,
UINT  nFlags 
) const

Defines how grid control handles keyboard inside in-place editor.

Override this method in a derived class to define what keys can close in-place edit.

Return TRUE if nChar can close in-place editor.

nCharSpecifies the virtual-key code of the given key.
nRepCntRepeat count
nFlagsSpecifies the scan code, key-transition code, previous key state, and context code, as shown in the following list. See CWnd::OnKeyDown for details.