Print Page | Close Window

Select an AutoHidden pane from code

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=5983
Printed Date: 29 April 2024 at 8:26am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Select an AutoHidden pane from code
Posted By: akur
Subject: Select an AutoHidden pane from code
Date Posted: 04 January 2007 at 8:10am
Hello,

I've got an undesired animation effect when trying to select one of the tabs of my autohidden panes. E.g. 'FileView' is selected (1st pic) and I need to select 'ResourceView' (to achieve the state on 2nd pic). So I call pResView->Select(). However, by calling this, 'ResourceView' not only gets selected, it also quickly goes expanding, then immediately collapsing. Can this quick rollout-rollin action be omitted somehow? I just need to silently select that pane.



Thank you, in advance!




Replies:
Posted By: Oleg
Date Posted: 04 January 2007 at 2:48pm
Hi,
It must expand but not collapse it. Can you attach sources of changes you done?


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: akur
Date Posted: 05 January 2007 at 6:07am
It is collapsed immediately, because in our application, some special controls "steal" focus from time to time. So, to be honest, collapsing is a secondary problem for me. Primarily I'd like to know why is it expanding, or in other words: can I select that tab _without_ expanding it?


Posted By: Oleg
Date Posted: 05 January 2007 at 9:08am
Hi,
try get parent  CXTPDockingPaneTabbedContainer and call
 
pTabbedContainer->SelectPane(CXTPDockingPane* pPane, BOOL bSetFocus, BOOL bDelayRedraw)


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: akur
Date Posted: 08 January 2007 at 4:14am
This is exactly what I needed. Thank you.



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