Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Command Bars
  New Posts New Posts RSS Feed - How to remove the restore and close buttons
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

How to remove the restore and close buttons

 Post Reply Post Reply
Author
Message
Surbhi View Drop Down
Groupie
Groupie


Joined: 08 July 2008
Status: Offline
Points: 15
Post Options Post Options   Thanks (0) Thanks(0)   Quote Surbhi Quote  Post ReplyReply Direct Link To This Post Topic: How to remove the restore and close buttons
    Posted: 17 September 2008 at 1:13am
Hello,
I have Ribbon bar in my Mdi application. Threre are restore and close buttons appearing on the extreame right side,aligned with the tabs.
Now i want to remove these buttons.
How can i remove that buttons.Herewith i am sending the screenshot.Please give the solution accordingly.
 
Thanks and Reagrds,
Surbhi.
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 17 September 2008 at 2:21am
Hi,
 
Add pMenuBar->SetFlags(xtpFlagHideMinimizeBox|xtpFlagHideMaximizeBox|xtpFlagHideClose);
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
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.203 seconds.