Print Page | Close Window

How to know if floated pane is pinned ?

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=2878
Printed Date: 08 November 2025 at 9:49pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: How to know if floated pane is pinned ?
Posted By: Louis
Subject: How to know if floated pane is pinned ?
Date Posted: 12 September 2005 at 8:32am

I want to use the pin button of panes as a toggle to allow or disallow floated panes to be docked or not. If a pane is floated and then pinned, this would not allow the pane to be docked.

I know how to not allow docking. How to know if the pane is pinned in floating mode ? There is no IsPinned function in CXTPDockingPane class. Must be some attributes I can check ?

thanks,
Louis.




Replies:
Posted By: Louis
Date Posted: 12 September 2005 at 3:26pm

I have tried to check for action xtpPaneActionPinning but this action is not sent when pane if floating. Why not ? When a pane is floating and I pin it (auto-hide it) the auto hide works fine, so why I don't receive pinning action ?

thanks,
Louis.



Posted By: Oleg
Date Posted: 13 September 2005 at 2:20pm

Hello,

Some hints:

- try to get parent frame of Floated window it must be CXTPDockingPaneMiniWnd class.

- check m_bCollapsed of CXTPDockingPaneMiniWnd. It is protected, so you must override CXTPDockingPaneMiniWnd class.



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