Print Page | Close Window

Notifications on loading/saving pane layouts

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Docking Pane
Forum Description: Topics Related to Codejock Docking Pane
URL: http://forum.codejock.com/forum_posts.asp?TID=8195
Printed Date: 12 December 2024 at 1:29pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Notifications on loading/saving pane layouts
Posted By: akur
Subject: Notifications on loading/saving pane layouts
Date Posted: 27 September 2007 at 11:41am
When I load a docking pane layout, some of the panes are closed, while others are opened. However, I don't get any notifications about which panes were closed and which ones were opened (I need this because I need to notify all the panes when their visibility has changed).

Is there any simple notification for this just like XTP_DPN_CLOSEPANE for example? Thank you, in advance!



Replies:
Posted By: Oleg
Date Posted: 27 September 2007 at 2:58pm
Hi,
You already load with Closed state, so its designed to not send notifications. As solution you can manually loop panes and send notification if closed.


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


Posted By: akur
Date Posted: 28 September 2007 at 1:28am
Thanks for the answer, but I don't mean the initial loading of layouts when the app starts, but a switch of layouts any time during the runtime.

Say, panes A and B are open while the app is running. Then a layout gets loaded which "closes" pane A. This is what I'd like to have a notification about. Is this possible? Or does it belong more to the wish list?

Looping though panes and comparing their before-after states one-by-one is the last option to use, indeed.


Posted By: Oleg
Date Posted: 28 September 2007 at 3:26am
Hi,
 
When you load layout - it replaces all panes with new panes from layout. it doesn't close pane it replace it with new state.
Its designed behavior


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


Posted By: akur
Date Posted: 28 September 2007 at 3:42am
I see, so it works a little bit different than I've imagined. Thank you anyway.



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