But this seems to do the trick in my sample app
BOOL CSheet::PreTranslateMessage(MSG *pMsg)
{
if (pMsg->message == WM_KEYDOWN && pMsg->wParam == VK_RETURN)
{
return TRUE;
}
return CPropertySheet::PreTranslateMessage(pMsg);
}
BOOL CPage::PreTranslateMessage(MSG *pMsg)
{
if (pMsg->message == WM_KEYDOWN && pMsg->wParam == VK_RETURN)
{
return TRUE;
}
return CPropertyPage::PreTranslateMessage(pMsg);
}
AliR.
<kefkastudio@gmail.com> wrote in message
news:1156966744.511383.33400@p79g2000cwp.googlegroups.com...
I have a tab control with a property sheet for each tab control. When
switching between tabs the property sheets show and hide according to
which tab the user clicks on. Whenever I put the cursor in an edit box
and press enter, the property sheet goes blank.. anyone know of a good
solution for this?
Frank B.