![]() |
Tooltips not taking up theme |
Post Reply
|
| Author | |
robin_l
Senior Member
Joined: 15 October 2006 Status: Offline Points: 117 |
Post Options
Thanks(0)
Quote Reply
Topic: Tooltips not taking up themePosted: 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).
|
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 21 September 2007 at 12:48am |
|
Hi,
Set Style for tooltip context:
m_wndClient.GetToolTipContext()->SetStyle(xtpToolTipOffice2007);
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
robin_l
Senior Member
Joined: 15 October 2006 Status: Offline Points: 117 |
Post Options
Thanks(0)
Quote Reply
Posted: 21 September 2007 at 3:01am |
|
Thanks Oleg, that fixes it! Perhaps you could add this to the RibbonMDISample code.
|
|
![]() |
|
robin_l
Senior Member
Joined: 15 October 2006 Status: Offline Points: 117 |
Post Options
Thanks(0)
Quote Reply
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).
![]() |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
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 |
|
![]() |
|
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 |