Duplicate tooltips for CXTPStatusBar |
Post Reply |
Author | |
trunkmonkey
Newbie Joined: 18 February 2009 Status: Offline Points: 6 |
Post Options
Thanks(0)
Posted: 23 June 2011 at 12:28pm |
I've got a CXTPStatusBar-derived status bar that contains CXTPStatusBarPane-derived panes. Works great, except when I tried yesterday to make a multi-line tooltip for one of the panes, I got what is pictured below. First, the multi-line version pops up and looks just like I wanted. Then, about half a second later the single line tooltip ALSO pops up.
Here's the code I'm using to set the tooltip. This is within my status bar pane class. CString tooltip; tooltip.Format( "System Configuration (S): %s", GetChangesDescription(sysconfigdiff) ); tooltip.AppendFormat( "\nProgram (P): %s", GetChangesDescription(progdiff) ); tooltip.AppendFormat( "\nDocumentation (D): %s", GetChangesDescription(diff) ); SetTooltip( tooltip ); If anyone can help shed light on why this is happening, I'd greatly appreciate it. Stephen |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
If you have line like m_wndStaurbar.EnableTooltips(); - just comment it - it activates OS tooltip additionally to our own.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |