juan_herbst
asked on
Removing a menu in an SDI (MFC .Net)
I am trying to remove a menu in a SDI application. I have done the following:
BOOL CXXXSApp::InitInstance()
{
.
.
.
.
.
m_pMainWnd->ModifyStyle(WS _CAPTION ,SWP_SHOWWINDOW);
m_pMainWnd->SetMenu(NULL);
}
The menu dissapears but when I call GetClientRect() from a view the size of the menu is excluded from the rect at the bottom of the view.
BOOL CXXXSApp::InitInstance()
{
.
.
.
.
.
m_pMainWnd->ModifyStyle(WS
m_pMainWnd->SetMenu(NULL);
}
The menu dissapears but when I call GetClientRect() from a view the size of the menu is excluded from the rect at the bottom of the view.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.