How to destroy a menu from SDI application
C / C++ / MFC
4
Posts
4
Posters
0
Views
1
Watching
-
Hi How to destroy a menu from SDI application. The SDI application should appear without Menu . Help me.
-
Hi How to destroy a menu from SDI application. The SDI application should appear without Menu . Help me.
BOOL CMainFrame::PreCreateWindow(CREATESTRUCT& cs) { if(cs.hMenu!=NULL) { ::DestroyMenu(cs.hMenu); cs.hMenu = NULL; } return CFrameWnd::PreCreateWindow(cs); return TRUE; }
-
Hi How to destroy a menu from SDI application. The SDI application should appear without Menu . Help me.