Print Page | Close Window

I want a delete "Menu Bar"

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=4947
Printed Date: 11 November 2025 at 2:41am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: I want a delete "Menu Bar"
Posted By: kiokju
Subject: I want a delete "Menu Bar"
Date Posted: 01 September 2006 at 2:59am
 I want to make MFC App with non menu bar. ( only has Tool Bar )
 
 - I saw a sample & doc( chm file )
   but I can not find.
 
 What do I have to do?
 
 Please.
 
 
 



Replies:
Posted By: kiokju
Date Posted: 01 September 2006 at 4:07am

 

 I use this code :
 
  pCommandBars->GetMenuBar()->SetVisible(false);
 
 


Posted By: Oleg
Date Posted: 01 September 2006 at 11:45am
Hello,
 
Just don't call pCommandBars->SetMenu in your CMainFrame::OnCreate.


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: kiokju
Date Posted: 06 September 2006 at 2:34am
 I though that!!
 
 And So Strange...
 
 Menu is not deleted!! It remains....
 
 My Code is wrong?? - I don`t know.
 
 Finally I coded  "Do Not Show" 



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net