Professional UI Solutions
Site Map   /  Register


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 » Hiding a specific auto hide control bar Collapse All
Subject Author Date
Jeremy Richards Jul 29, 2008 - 11:26 AM

I need to hide a specific auto hide control bar.

Here is my code (adapted from your sample code in the FAQ):

            if (pBar->AutoHideModeGet()) {

                pBar->AutoHideModeSet( false, false, true, true );

                ASSERT_VALID( pBar->m_pDockSite );

                pBar->m_pDockSite->ShowControlBar( pBar, FALSE, FALSE );

            } else if { ... }

This does not quite work.  If the bar is in an autohide tab group it hides the entire group instead of just the one bar I want hidden.



Technical Support Jul 30, 2008 - 4:22 AM

Unfortunately the current version of control bars keeps all the bars in a tabbed group always together linked in the auto hide state. We can regard your message as a feature request.

Chun Pong Lau Aug 4, 2008 - 10:25 PM

May I request this feature (i.e. hiding/showing a tabbed bar) as well? This is very useful.