Print Page | Close Window

How to remove the restore and close buttons

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=12170
Printed Date: 04 October 2024 at 9:18am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: How to remove the restore and close buttons
Posted By: Surbhi
Subject: How to remove the restore and close buttons
Date 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.
https://forum.codejock.com/uploads/20080917_011304_Restore-close_b.zip - uploads/20080917_011304_Restore-close_b.zip
 
Thanks and Reagrds,
Surbhi.



Replies:
Posted By: Oleg
Date Posted: 17 September 2008 at 2:21am
Hi,
 
Add pMenuBar->SetFlags(xtpFlagHideMinimizeBox|xtpFlagHideMaximizeBox|xtpFlagHideClose);


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



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