Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Removing the standard menu

Status
Not open for further replies.

barbacot

Programmer
Feb 5, 2002
4
FR
How can I remove the menu that comes with a standard MFC project? I mean the one that contains File, Edit and Help items.
 
inside your initInstance function, add :
pMainFrame->SetMenu(NULL);
just before pMainFrame->ShowWindow(...);

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top