Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Command Bars
  New Posts New Posts RSS Feed - How can i hide/show menu bar?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

How can i hide/show menu bar?

 Post Reply Post Reply
Author
Message
wolfmax View Drop Down
Newbie
Newbie


Joined: 08 August 2008
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote wolfmax Quote  Post ReplyReply Direct Link To This Post Topic: How can i hide/show menu bar?
    Posted: 08 August 2008 at 3:26am
CXTPCommandBars* pCommandBars = GetCommandBars();
  pCommandBars->GetMenuBar()->ShowWindow(SW_HIDE);
 
I can hide by upper code
 
but menubar window can not hide, just menu text can hide
 
 
Back to Top
wolfmax View Drop Down
Newbie
Newbie


Joined: 08 August 2008
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote wolfmax Quote  Post ReplyReply Direct Link To This Post Posted: 08 August 2008 at 3:50am
^^
 
I got it now!
 
Use SetVisible(BOOL) method
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.