![]() |
Select an AutoHidden pane from code |
Post Reply ![]() |
Author | |
akur ![]() Senior Member ![]() Joined: 16 May 2006 Status: Offline Points: 139 |
![]() ![]() ![]() ![]() ![]() 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! |
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hi,
It must expand but not collapse it. Can you attach sources of changes you done?
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
akur ![]() Senior Member ![]() Joined: 16 May 2006 Status: Offline Points: 139 |
![]() ![]() ![]() ![]() ![]() |
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?
|
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hi,
try get parent CXTPDockingPaneTabbedContainer and call
pTabbedContainer->SelectPane(CXTPDockingPane* pPane, BOOL bSetFocus, BOOL bDelayRedraw)
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
akur ![]() Senior Member ![]() Joined: 16 May 2006 Status: Offline Points: 139 |
![]() ![]() ![]() ![]() ![]() |
This is exactly what I needed. Thank you.
|
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |