Print Page | Close Window

CXTPDockingPane initial state

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=406
Printed Date: 23 December 2024 at 7:35am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: CXTPDockingPane initial state
Posted By: Frank Deo
Subject: CXTPDockingPane initial state
Date Posted: 01 February 2004 at 3:01pm

How can I set the initial state of a dockingpane so that it is hidden with its respective tab on the mainframe?

Thanks,

Frank




Replies:
Posted By: vladsch
Date Posted: 04 February 2004 at 6:14pm

In LoadFrame member function after the call to base::LoadFrame() Add:

    m_paneManager.HidePane(IDR_PANE_OPTIONS);

Where IDR_PANE_OPTIONS is replaced by the pane id you used in the call to  CreatePane.

I can't tell you if this is the most efficient way but it works.

 



Posted By: Frank Deo
Date Posted: 04 February 2004 at 6:54pm

That worked perfectly.  Thanks!

 

Frank




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