Print Page | Close Window

Command Bar Toggle Toolbar Visibility

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=3469
Printed Date: 04 March 2025 at 5:07pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Command Bar Toggle Toolbar Visibility
Posted By: Kayako
Subject: Command Bar Toggle Toolbar Visibility
Date Posted: 04 January 2006 at 3:43pm
Hi,

We're using XTP 9.60 in our application, and we are not using the Doc/View architecture.

Our main window is a CXTPFrameWnd-derived class and creates the commandbars in the normal fashion.

When I right-click on the commandbars and toggle the visibility of one of the toolbars or the menu bar, the toolbar disappears properly but the frame never receives any sort of resize notification, so a blank spot remains where the toolbar was. http://ryan.ript.net/files/temp/20060104-144312.jpg

Is there any type of notification I can trap from the commandbar that will tell me when the visiblity of a toolbar or menubar has been changed?  I need to re-size my window at that point...

Thanks



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