Professional UI Solutions
Site Map   /  Register
 
 

Forum

Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS Tech Support » Hide/Show control bars with no sliding Collapse All
Subject Author Date
Emil Pop Feb 1, 2006 - 7:43 AM

I am working on an MDI application and I am using a series of dockable controls that slide over the child frames/views.
Whenever the view being covered is graphic intensive, sliding the control bar becomes slow.


What I want to achieve is the following: whenever a dockable control bar is hidden in a tab container and then selected, the control bar should become visible in one step (no animation for sliding). Similarly whenever the control bar turns from visible to hidden into the tab container it would be nisce to do it in one step (again, no animation).


Is it possible to achieve this while using a plain CExtControlBar object (I am not using the dynamic control bars derived from the former)?


Thanks,


Emil

Technical Support Feb 1, 2006 - 10:59 AM

You can disable the auto-hide animation for all the bars using the following code:

CExtControlBar::g_bDisableAutoHideAnimationExpanding = true;
CExtControlBar::g_bDisableAutoHideAnimationCollapsing = true;

Emil Pop Feb 2, 2006 - 9:26 AM

It works


Thank you,


 


Emil