Print Page | Close Window

EnableDocking bug!

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=9064
Printed Date: 21 November 2024 at 7:49pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: EnableDocking bug!
Posted By: znakeeye
Subject: EnableDocking bug!
Date Posted: 10 December 2007 at 1:12pm
This won't hide the menu buttons:
pMenuBar->SetFlags(xtpFlagHideMinimizeBox | xtpFlagHideMaximizeBox | xtpFlagHideClose);
pMenuBar->EnableDocking(xtpFlagStretched);
However, this will:
pMenuBar->EnableDocking(xtpFlagStretched);
pMenuBar->SetFlags(xtpFlagHideMinimizeBox | xtpFlagHideMaximizeBox | xtpFlagHideClose);
 
Bug? Functions should not be dependent on each other like that!



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