Then I cannot catch VK_DELETE.
With the following CODE, a message does not flow.
bool CExtGridWnd::OnGbwBeginEdit(
LONG nVisibleColNo,
LONG nVisibleRowNo,
LONG nColNo,
LONG nRowNo,
INT nColType,
INT nRowType,
const RECT & rcCellExtra,
const RECT & rcCell,
const RECT & rcInplaceControl,
bool bContinueMsgLoop, // = true
__EXT_MFC_SAFE_LPCTSTR strStartEditText, // = NULL
HWND hWndParentForEditor // = NULL
)
{
:
:
:
:
if( (!bCtrl) && (!bShift) && int(msg.wParam) == VK_DELETE )
{
if( msg.message != WM_CHAR )
{
if( ! g_pEditCell->_OnQueryInplaceVkDeleteProcessingEnabled() )
{
::PeekMessage(&msg,NULL,msg.message,msg.message,PM_REMOVE);
continue;
}
LRESULT lResult = 0L;
g_pEditCell->OnInplaceControlWindowProc(
lResult, msg.message, msg.wParam, msg.lParam, msg.hwnd, *this,
nVisibleColNo, nVisibleRowNo, nColNo, nRowNo, nColType, nRowType,
rcCellExtra, rcCell, rcInplaceControl
);
:
: