Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Pinning a pane doesn't work
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Pinning a pane doesn't work

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


Joined: 16 April 2009
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote justin Quote  Post ReplyReply Direct Link To This Post Topic: Pinning a pane doesn't work
    Posted: 16 April 2009 at 5:37pm
When I migrated from Toolkit Pro 10.4.2 to 12.0.2, I found that I'm having a problem with pinning a that has another pane attached to it.  The same code worked in the previous version.

To reproduce this problem, I have two panes in the same tabbed container with pane B attached to pane A.  I unpin pane A and both panes will hide into a sidebar.  I then expand the pane by clicking on the sidebar and then click on the pin for pane A.  Pane B will become pinned, pane A will expand again, but it will remain unpinned, the sidebar will still be shown. 

If I click on the pin button again, the sidebar will disappear like it's supposed to, but the pane remains in an unpinned state.

I have created the panes as follows:

pFirstVersionOnly = NULL;
dockingDirection = xtpPaneDockLeft;

#if defined(FIRST_VERSION)
pFirstVersionOnly = GetDockingPaneManager()->CreatePane(IDC_FIRST_PANE, CRect(0, 0, leftWidth, screenHeight/2), dockingDirection)
dockingDirection = xtpPaneDockBottom;
#endif

pPaneA = GetDockingPaneManager()->CreatePane(IDS_PANE_A, CRect(0, 0, leftWidth, screenHeight/2), dockingDirection, pUsedInWorkingVersion );      
pPaneB = GetDockingPaneManager()->CreatePane(IDS_PANE_B, CRect(0, 0, leftWidth, screenHeight/2), dockingDirection, pUsedInWorkingVersion );
       
GetDockingPaneManager()->AttachPane(pPaneB  pPaneA );


There are two versions of my product, in the first version, everything works fine. 
The second version doesn't work but I cannot find any other differences that might affect this.

     Product: Xtreme ToolkitPro version 12.0.2
     Platform: Windows Vista Enterprise(64bit) - SP 1
     Language: Visual C++ 2005
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


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: 17 April 2009 at 1:46am
Hi,
 
What do you have in Notify handler code ?
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.156 seconds.