Print Page | Close Window

Dock panes when app closes

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=1904
Printed Date: 07 November 2025 at 3:10pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Dock panes when app closes
Posted By: thodgson
Subject: Dock panes when app closes
Date Posted: 03 March 2005 at 1:06pm

I have a number of docking panes in my application that I would like to ensure are docked when the application closes.  In other words, when the application closes, if a docking pane is floating, I want it docked.

I've tried docking in OnClose and OnDestroy of the CMainFrame class where the pane manager member variable and panes are initialized, but I keep getting weird errors when I call the IsFloating method of the pane.

Ideas and suggestions are welcome.

Thanks,
Tim Hodgson
ExclamationSoft 




Replies:
Posted By: Oleg
Date Posted: 04 March 2005 at 12:26am

May be easy to dock them on application start instead?



-------------
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