Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Tooltips not taking up theme
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Tooltips not taking up theme

 Post Reply Post Reply
Author
Message
robin_l View Drop Down
Senior Member
Senior Member


Joined: 15 October 2006
Status: Offline
Points: 117
Post Options Post Options   Thanks (0) Thanks(0)   Quote robin_l Quote  Post ReplyReply Direct Link To This Post Topic: Tooltips not taking up theme
    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).
Back to Top
Oleg View Drop Down
Senior Member
Senior Member


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 21 September 2007 at 12:48am
Hi,
 
Set Style for tooltip context:
 
m_wndClient.GetToolTipContext()->SetStyle(xtpToolTipOffice2007);
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
robin_l View Drop Down
Senior Member
Senior Member


Joined: 15 October 2006
Status: Offline
Points: 117
Post Options Post Options   Thanks (0) Thanks(0)   Quote robin_l Quote  Post ReplyReply Direct Link To This Post Posted: 21 September 2007 at 3:01am
Thanks Oleg, that fixes it! Perhaps you could add this to the RibbonMDISample code.
Back to Top
robin_l View Drop Down
Senior Member
Senior Member


Joined: 15 October 2006
Status: Offline
Points: 117
Post Options Post Options   Thanks (0) Thanks(0)   Quote robin_l Quote  Post ReplyReply Direct Link To This Post 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).
 
 
 
Back to Top
Oleg View Drop Down
Senior Member
Senior Member


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.063 seconds.