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 » How to remove the tool tip from advanced tool bar Collapse All
Subject Author Date
howard liu Oct 31, 2008 - 2:49 AM

Hi,


 


How do I remove the tooltip from the advanced tool bar. I have removed the chevron buttons but I get tool tipe when i place the cursor over the end of the advanced toolbar. I do not want this tool tip


 


Thanks,


Howard

Technical Support Nov 3, 2008 - 1:47 PM

You can use one of the following approaches:

- You can create a control bar without CBRS_TOOLTIPS MFC control bar style. You will need to clean the control bar state data manually after applying such a code change.
- You can override the CExtControlBar::OnToolHitTest virtual method and return -1 from it.
- You can override the CExtControlBar::OnAdvancedPopupMenuTipWndGet() virtual method and return NULL from it.
- You can override the CExtControlBar::OnAdvancedPopupMenuTipWndDisplay() virtual method and not invoke the parent class method.