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 » Balloon tooltips on status bars Collapse All
Subject Author Date
Thomas Fuchs Mar 29, 2006 - 4:32 AM

Good morning,

Sorry to bother you again with that balloon tooltips stuff, but I found another problem. The ballon tooltips don’t show up on status bars, just the regular rectangle tooltip works. How can I change this?

By the way, I would say you should reconsider this tooltip behavior. It does not make much sense if the tooltips look different for certain kind of windows. For instance, for a CExtPopupMenuWnd I could use the global setting CExtPopupMenuWnd::__ETS_BALLON. At the same time, however, the tooltips on a toobar still appear as a rectangular, except I overwrite the function CExtControlBar::OnAdvancedPopupMenuTipWndDisplay(...). Last but not least, tooltips on status bars always appear as rectangular as it looks by now. So, how about just *one global* parameter which controls the behavior of all tooltips, regardless on which type of window (or control) they show up?

Regards,
Thomas

Technical Support Mar 29, 2006 - 8:00 AM

The balloon tips and MS Office 2003 style rectangular tips are implemented in the CExtPopupMenuTipWnd class. This class implements a popup window which is not based on the standard tooltip common control. Currently only popup menus, all the control bars, the tab window, the tab page container and all the button controls support CExtPopupMenuTipWnd-based tooltips. We are adding support for these tips in other classes step by step. We think we should keep several global variables as is, but we can add a global function which changes all the variables.


Thomas Fuchs Mar 31, 2006 - 4:30 AM

Okay, understood. For what release is the Prof-UIS tooltip support on status bars to be expected?

Regards,
Thomas

Technical Support Apr 2, 2006 - 6:23 AM

We added this to our TO DO list and it will be available in the next release.

Thomas Fuchs Apr 2, 2006 - 7:01 AM

...for your continued and speedy support!

I am looking forward to getting this new feature.

Regards,
Thomas

Technical Support Apr 4, 2006 - 10:06 AM

We added support for the advanced tooltips in the status bar. Now several tooltip styles including the balloon style are available:

enum e_tip_style_t
{
 __ETS_NONE = 0,
 __ETS_BALLOON = 1,
 __ETS_BALLOON_NO_ICON = 2,
 __ETS_RECTANGLE = 3,
 __ETS_RECTANGLE_NO_ICON = 4,
 __ETS_INV_RECTANGLE = 5,
 __ETS_INV_RECTANGLE_NO_ICON = 6,
};
The line below shows how to apply the balloon style:
m_wndStatusBar.m_nAdvancedTipStyle = CExtPopupMenuTipWnd::__ETS_BALLOON;
Please note that __ETS_NONE means the default tooltips will be used. We sent you the updated source code by e-mail.