Immediate effect of SetAnimationDelay() |
Post Reply |
Author | |
akur
Senior Member Joined: 16 May 2006 Status: Offline Points: 139 |
Post Options
Thanks(0)
Posted: 20 September 2007 at 5:01am |
Hello,
after a call to CXTPDockingPaneManager::SetAnimationDelay(), all the autohidden panes use the new animation times immediately, but the pinnable floating frames do not! They must be pinned and unpinned again by the user first, in order to make them use the new animation times. This is a problem for our customers, since we offer them an on-the-fly setting for animation times, thus they expect immediate changes in all panes. Can the floating panes forced somehow to re-initialize/refresh their animation settings? Thanks, in advance! |
|
akur
Senior Member Joined: 16 May 2006 Status: Offline Points: 139 |
Post Options
Thanks(0)
|
Replacing a line inside CXTPDockingPaneMiniWnd::Expand() does the trick:
Instead of original m_nSlideStep = m_nStepsCount; I use nowm_nSlideStep = m_nStepsCount = ResetStepsCount(); However, I handle this just as a workaround for the problem, since I need to modify XTP sources. Is there any better solution to achieve this without any changes to XTP sources? Just because for me, changing a 3rd party library is always the last option to use. |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Thanks, we will change it also.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
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 |