Print Page | Close Window

Tooltips not taking up theme

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=8106
Printed Date: 13 November 2025 at 11:39pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Tooltips not taking up theme
Posted By: robin_l
Subject: Tooltips not taking up theme
Date Posted: 20 September 2007 at 5:36pm
In both CXTPTabClientWnd and in docking panes, various screen elements show a tooltip when the cursor hovers over them. For example, in the RibbonMDISample, hovering over the close button results in a "Close" tooltip as shown below. Docking panes show similar "Close" and "Auto Hide" buttons.
 
 
However, as can be seen, these tooltips always have the default windows yellow background when they should really take the same appearance of the other tooltips (blue background in this case).



Replies:
Posted By: Oleg
Date Posted: 21 September 2007 at 12:48am
Hi,
 
Set Style for tooltip context:
 
m_wndClient.GetToolTipContext()->SetStyle(xtpToolTipOffice2007);


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: robin_l
Date Posted: 21 September 2007 at 3:01am
Thanks Oleg, that fixes it! Perhaps you could add this to the RibbonMDISample code.


Posted By: robin_l
Date Posted: 22 September 2007 at 12:33pm
I've just noticed a further problem. Run the RibbonMDISample, then hover the cursor over the MDI window minimize/maximize/close parts. The tooltip that eventually appears uses the default color scheme and not the themed one (see in the red box below).
 
 
 


Posted By: Oleg
Date Posted: 24 September 2007 at 2:12am
Hello,
 
Yes :( It's not our tooltip - its system tooltip that available for all windows.


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net