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 General Discussion » Menu bubbles disappeared Collapse All
Subject Author Date
Andrej Kasa Mar 31, 2006 - 8:03 AM

hi there,

I just upgraded from ProfUIS240 to ProfUIS253. I rebuilded it completely. I completely rebuilded my application that formerly used 240 to use 253. (in my application I use ProfUIS253snd.lib & ProfUIS253sn.lib). I didn’t do any modifications to my application source code.

When I started my newly rebuilded application everything was working OK but I found out that there are no more bubble tool tips when the user waits on items in menu (I have been using PROFUIS menu + toolbar). Do you have any idea where the problem may be? As I said I dind’t do any modifications to my source when migrating from 240 to 253 and under 240 the tooltip bubbles were displayed properly. Tooltips over toolbar are working OK only in menu they are missing.

thanks for answer,
krompo

Technical Support Apr 3, 2006 - 9:18 AM

All balloon tooltips used to be controlled by the CExtPopupMenuWnd::g_bMenuShowCoolTips property. Now this property is obsolete and will be removed in one of the next releases. The balloon tip is implemented in the CExtPopupMenuTipWnd class and allows you to show tips of several shape types. The CExtPopupMenuTipWnd::e_tip_style_t enumeration describes the currently supported tooltip types:

 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 CExtPopupMenuWnd::g_eTtsClassicMenu variable describes the tooltip type in a popup menu. It is set to CExtPopupMenuTipWnd::__ETS_NONE by default. If you want to get the tooltips displayed (by default) over menu items in older Prof-UIS versions, just set CExtPopupMenuWnd::g_eTtsClassicMenu to CExtPopupMenuTipWnd::__ETS_BALLOON.