Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - How to know if floated pane is pinned ?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

How to know if floated pane is pinned ?

 Post Reply Post Reply
Author
Message
Louis View Drop Down
Newbie
Newbie


Joined: 17 August 2005
Status: Offline
Points: 19
Post Options Post Options   Thanks (0) Thanks(0)   Quote Louis Quote  Post ReplyReply Direct Link To This Post Topic: How to know if floated pane is pinned ?
    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.

Back to Top
Louis View Drop Down
Newbie
Newbie


Joined: 17 August 2005
Status: Offline
Points: 19
Post Options Post Options   Thanks (0) Thanks(0)   Quote Louis Quote  Post ReplyReply Direct Link To This Post 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.



Edited by Louis
Back to Top
Oleg View Drop Down
Senior Member
Senior Member


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.031 seconds.