BOOL CBCGPFrameWnd::EnableAutoHideBars | ( | DWORD | dwDockStyle, |
BOOL | bActivateOnMouseClick = FALSE |
||
) |
Enables ability to switch control bars to the autohide mode when they're docked at the specified sides of the main frame window.
Call this function to enable ability to switch control bars to the autohide mode when they're docked at the specified sides of the main frame window.
When you call this method the framework automatically creates several autohide dock bars according to the enabled alignment specified by dwDockStyle.
dwDockStyle | Specifies the enabled sides of the main frame window (use CBRS_ALIGN_ flags). |
bActivateOnMouseClick | If TRUE, the auto-hide bars are activated when users clicks the toolbar; FALSE - activate by mouse cusror hovering. |