Re: Controlling keyboard input to browser control

From: saripalli (anonymous_at_discussions.microsoft.com)
Date: 04/22/04


Date: Thu, 22 Apr 2004 11:21:03 -0700

Thanks Igor. The PretranslateMessage did the trick.

BOOL CXcceApp::PreTranslateMessage(MSG* pMsg)
{
        if(pMsg->message==WM_KEYDOWN && (pMsg->wParam==VK_F5 || pMsg->wParam==VK_F6 ) )
                return TRUE;
        
        return CWinApp::PreTranslateMessage(pMsg);
}

Thanks!
saripalli