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 » Show autohide controlbars on click Collapse All
Subject Author Date
Thomas Zaenker Apr 18, 2005 - 8:21 AM

Dear support team,


is it possible to have a hidden autohide controlbar to reappear only on mouse click not with only hovering? Sometimes it is confusing if a bar floats over the document by just coincidentally moving the mouse over a tab pad.


Thanks in advance.


 


Axel


 

Technical Support Apr 18, 2005 - 11:21 AM

This feature is based on the tab control ability to automatically change its selection on mouse hover. So, we can only abandon the hover-based selection for all control bars. It is not possible to cancel hover selection only for a particular control bar. If it’s not critical to you, you need to traverse all the children of your main frame window and detect CExtTabWnd windows by using the MFC dynamic downcasting. There are two types of tab windows: MDI tab control and auto-hide grouped tabs (the CExtDynAutoHideArea class declared in the Src/ExtControlBarTabbedFeatures.h file which you need need to include). For each auto-hide tab you should call the ModifyTabWndStyle() method with specifying the __ETWS_HOVER_FOCUS tab control style as the style to remove.