Professional UI Solutions
Site Map   /  Register


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 » ToolTip question Collapse All
Subject Author Date
tera tera May 19, 2009 - 9:07 PM


I do not want to display the shadow of the tool tip.

Should I set a flag?

Technical Support May 20, 2009 - 5:03 AM

The code to remove a shadow from all tooltips:

CExtPopupMenuSite::g_DefPopupMenuSite.GetTip().SetShadowSize( 0 );
But the ribbon bar control displays ribbon screen tips which are not tooltips. To remove a shadow from ribbon screen tips, you should implement the following virtual method in your CExtRibbonBar-derived class:
   virtual CExtPopupMenuTipWnd * OnAdvancedPopupMenuTipWndGet(
                        CObject * pHelperSrc = NULL,
                        LPARAM lParam = 0
                        ) const
                        CExtPopupMenuTipWnd * pTip = __PARENT_CLASS__::OnAdvancedPopupMenuTipWndGet( pHelperSrc, lParam );
                        If( pTip != NULL )
                                    pTip->SetShadowSize( 0 );
                        return pTip;