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 » CExtControlBar question Collapse All
Subject Author Date
tera tera Jan 13, 2010 - 1:59 AM

Hello.


Please teach a method to examine a pin state of the docking bar.


 


Please teach a method to return to the state of the normal bar from AutoHideBar.

Technical Support Jan 13, 2010 - 11:08 AM

The CExtControlBar::AutoHideModeGet() and CExtControlBar::AutoHideModeSet() methods allow you to detect the auto-hidden state of control bar, switch it to auto-hidden state and back. The floating bars cannot be switched into auto hidden state. If the CWnd::GetParentFrame() API invoked for some CExtControlBar window returns pointer to the CMiniFrameWnd window, then the bar is somewhere in a floating palette window. If this API returns pointer to the main frame window, then the bar is somewhere docked in this main frame and you can make it auto-hidden.
The dynamic resizable bars should use the CExtDynamicControlBar::BarStateGet() and CExtDynamicControlBar::BarStateSet() methods for managing dynamic bar state.