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 » CExtPopupMenuTipWnd question Collapse All
Subject Author Date
Offer Har Feb 28, 2008 - 11:47 AM

Dear Support,

I have a tooltip that updates with it is displayed.
I tried calling SetText, but this does not invalidates the tooltip.
Is this feature supported? if not is there any plan to implement this?

Thanks,
Ron.

Offer Har Mar 1, 2008 - 8:33 AM

Wouldn’t this cause a flicker each time the text updates?

Technical Support Mar 1, 2008 - 8:30 AM

You should keep the CExtPopupMenuTipWnd m_wndCoolTip object somewhere persistently. Then you can invoke this code:

CWnd * pWndCoolTipOwner = ...
CRect rcExcludeArea = ...
CExtPopupMenuTipWnd::e_tip_style_t eAdvancedTipStyle = ...
LPCTSTR strToolTipText = ...
      m_wndCoolTip.Hide();
      m_wndCoolTip.SetText(strToolTipText );
      m_wndCoolTip.SetTipStyle( eAdvancedTipStyle );
      m_wndCoolTip.Show( pWndCoolTipOwner, rcExcludeArea );

Offer Har Mar 24, 2008 - 5:14 AM

Wouldn’t this cause a flicker each time the text updates?