Print Page | Close Window

IsFloating issue

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=396
Printed Date: 15 May 2024 at 10:08am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: IsFloating issue
Posted By: JamesC
Subject: IsFloating issue
Date Posted: 29 January 2004 at 5:25pm
I have an MDI application and I want to close all the floating panes that are associated with a mdichildwnd when it switches to another mdichildwnd. the closing part works fine. but it seems that when I try to show all the windows that were floating.. I can't seem to determine what window those where. IsFloating() always returns false. Any ideas of how to determine the show "state" so I know what windows to show.. thanks.



Replies:
Posted By: vladsch
Date Posted: 05 February 2004 at 6:03am

Once you close the pane it is no longer floating.

You should save the Pane IDs that you want to reopen in the MDIchildwnd and call the pane manager ShowPane(PaneID) for every pane that you want to show. ShowPane will show the pane in the same state it was in when it was closed.




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