this is not working.dont know why?? have u tried?
:
This message was edited by stober at 2003-7-5 8:36:16
: : here it is
: :
:
: BOOL CMyDlg::PreTranslateMessage(MSG* pMsg)
: {
: if (pMsg->message == VK_ESCAPE )
: {
: return TRUE;
: }
: delete the else statement!
: // else
: // {
: // return FALSE;// but TAB is not working
: // }
:
: UN-delete this next line!
: return CDialog::PreTranslateMessage(pMsg);
:
: }
:
: : Pl tell me is anything wrong with my code???
: :
: :
: :
: : : : i tried as u suggested. The ESCAPE key is working as expected, but TAB is not working now. what do i do?
: : : :
: : : :
: : :
: : : post the OnTranslateMessage() function that you created. Disabling the ESC key should not have that side affect. That must be a different problem.
: : :
: :
: :
:
:
:
: