Originally Posted by
novacain
Does the main window have the tab stop style?
Yes, application class ->
Code:
class MyApp : public CWinApp
{
public:
BOOL InitInstance()
{
MainWin *mainWinL = new MainWin;
mainWinL->m_bAutoMenuEnable = FALSE;
m_pMainWnd = mainWinL;
mainWinL->Create (AfxRegisterWndClass(0, LoadStandardCursor(IDC_ARROW),
CreateSolidBrush(RGB(0,0,0)),
LoadIcon(IDI_ICON1)), "App",
WS_TABSTOP | WS_SYSMENU | WS_MINIMIZEBOX , CRect(0, 0, 620, 510),
NULL, MAKEINTRESOURCE(IDR_MENU1));
mainWinL->ActivateFrame();
return TRUE ;
}
};
I don't have to call IsDialogMessage() in message loop?
-