Hello,
i experimented a little and it shows, that PreTranslateMessage is my friend.
Here is a code fragment:
BOOL CMyFormView::PreTranslateMessage(MSG* pMsg)
{
// this one lets disappear the NI-control
if( pMsg->message==WM_KEYDOWN && pMsg->wParam==VK_ESCAPE )
{
return TRUE;
}
// normal behavior
return CFormView::PreTranslateMessage(pMsg);
}
Regards,
Charles