Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Removing the menu bar
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Removing the menu bar

 Post Reply Post Reply
Author
Message
mier View Drop Down
Newbie
Newbie
Avatar

Joined: 21 March 2004
Location: Israel
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote mier Quote  Post ReplyReply Direct Link To This Post Topic: Removing the menu bar
    Posted: 02 September 2004 at 1:55am
I would like to create an application with no menu bar and without the title bar. I tried some stuffand it didn't work. Please advise.
Back to Top
SuperMario View Drop Down
Senior Member
Senior Member
Avatar

Joined: 14 February 2004
Status: Offline
Points: 18057
Post Options Post Options   Thanks (0) Thanks(0)   Quote SuperMario Quote  Post ReplyReply Direct Link To This Post Posted: 02 September 2004 at 7:17am
Try hiding the MenuBar.  I would assume something like this:

    GetCommandBars()->GetMenuBar()->SetVisible(0);
Back to Top
mier View Drop Down
Newbie
Newbie
Avatar

Joined: 21 March 2004
Location: Israel
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote mier Quote  Post ReplyReply Direct Link To This Post Posted: 02 September 2004 at 7:23am
GetMenuBar () returns NULL. I did not create a menu bar. I suspect its the defualt from the resources.
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.047 seconds.