MDI without menu bar
-
Hi, How to create a new ChildFrame without menu bar ?? In the InitInstance in my App. I add this code for delete menu bar: pMainFrame->SetMenu(NULL); ::DestroyMenu(pMainFrame->GetMenu()->GetSafeHmenu()); and this work fine. But I create at runtime new windows attached to mainframe and when i create this windows the menu already appears. I add the code over in many points of windows creation but the visual effect is not very good :mad::mad:!! Any idea :confused:?? Thanks in advance :) Too many plans make the health badly !!
-
Hi, How to create a new ChildFrame without menu bar ?? In the InitInstance in my App. I add this code for delete menu bar: pMainFrame->SetMenu(NULL); ::DestroyMenu(pMainFrame->GetMenu()->GetSafeHmenu()); and this work fine. But I create at runtime new windows attached to mainframe and when i create this windows the menu already appears. I add the code over in many points of windows creation but the visual effect is not very good :mad::mad:!! Any idea :confused:?? Thanks in advance :) Too many plans make the health badly !!
AkiraOne wrote:
But I create at runtime new windows attached to mainframe and when i create this windows the menu already appears. I add the code over in many points of windows creation but the visual effect is not very good !!
Does
WM_MDISETMENU
orWM_MDIREFRESHMENU
help.
Nibu thomas A Developer Programming tips[^] My site[^]