Print Page | Close Window

How to open Docking Pane pinned?

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=7266
Printed Date: 12 December 2024 at 12:53pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: How to open Docking Pane pinned?
Posted By: MichaelN
Subject: How to open Docking Pane pinned?
Date Posted: 30 May 2007 at 4:52pm
Starting with its button on the pane manager bar, I want to open a docking pane in "pinned" mode so that it does not self-hide. The reasons for that are 1) so the view resizes itself and 2) the user can work with the docking pane and the view together.

Then I want to close it using the X button, but not delete it. That way its button remains on the pane manager bar to use again.

How?

Thanks,
Michael



Replies:
Posted By: ddlittle
Date Posted: 14 June 2007 at 12:05pm
You need to turn off "closeable" --- I do it in OnDockingPaneNotify, like this:
 

int nFlag = xtpPaneNoCloseable; // xtpPaneNoHideable, xtpPaneNoFloatable;

DWORD dwOptions = pPane->GetOptions();

dwOptions |= nFlag; //5.10 always OR in the xtpPaneNoCloseable....

pPane->SetOptions(dwOptions);




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