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.
Subject |
Author |
Date |
|
steven frierdich
|
Jun 15, 2006 - 11:48 AM
|
Ok how much more easy quetion can i ask how to you change tooltips for toolbar and menu so they are balloon tooltips?
|
|
Technical Support
|
Jun 15, 2006 - 12:08 PM
|
You need to override the CExtControlBar::OnAdvancedPopupMenuTipWndDisplay() method in this way: void CYourToolbar::OnAdvancedPopupMenuTipWndDisplay(
CExtPopupMenuTipWnd & _ATTW,
const RECT & rcExcludeArea,
__EXT_MFC_SAFE_LPCTSTR strTipText
) const
{
ASSERT_VALID( this );
ASSERT( strTipText != NULL && _tcslen( strTipText ) > 0 );
_ATTW.SetTipStyle( CExtPopupMenuTipWnd::__ETS_BALLOON );
_ATTW.SetText( strTipText );
_ATTW.Show( (CWnd*)this, rcExcludeArea );
}
|
|
steven frierdich
|
Jun 15, 2006 - 12:23 PM
|
THANK YOU. NICE AND EASY PASTE CODE
|
|