Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Fancy tooltip
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Fancy tooltip

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


Joined: 13 August 2004
Location: Denmark
Status: Offline
Points: 647
Post Options Post Options   Thanks (0) Thanks(0)   Quote cpede Quote  Post ReplyReply Direct Link To This Post Topic: Fancy tooltip
    Posted: 21 May 2008 at 2:50am
I'm wondering how to make a nice looking tooltip. Currently I'm only able to make the oldish yellow tooltip on a control using the CXTTipWindow class.
 
What I'm looking for is a tooltip like the on used in the Ribbon. Can this be done using XTToolkit?
 
-cpede
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


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 May 2008 at 8:33am
Hi,
 
Check  Samples\CommandBars\ToolTipContext  sample.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
cpede View Drop Down
Senior Member
Senior Member


Joined: 13 August 2004
Location: Denmark
Status: Offline
Points: 647
Post Options Post Options   Thanks (0) Thanks(0)   Quote cpede Quote  Post ReplyReply Direct Link To This Post Posted: 22 May 2008 at 8:13am
But how does I create such a Tooltip on a Button or in a specific position on the screen, like with the CXTTipWindow.
 
I suggest that you make a CXTPTipWindow class with the same functionality, and with the styles as for the command bars?
 
-cpede
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


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: 22 May 2008 at 8:36am
Hi,
 
In sample Dialog controls have tooltips. you can try same.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
cpede View Drop Down
Senior Member
Senior Member


Joined: 13 August 2004
Location: Denmark
Status: Offline
Points: 647
Post Options Post Options   Thanks (0) Thanks(0)   Quote cpede Quote  Post ReplyReply Direct Link To This Post Posted: 23 May 2008 at 2:44am
Yes I can change the context and catch the OnToolHitTest for the Window. But what if I want to show a tooltip on a specific position, without moving the mouse over e.g. a control?
-cpede
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


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: 23 May 2008 at 6:11am
Hi,
In same sample try to hover mouse over circle.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
cpede View Drop Down
Senior Member
Senior Member


Joined: 13 August 2004
Location: Denmark
Status: Offline
Points: 647
Post Options Post Options   Thanks (0) Thanks(0)   Quote cpede Quote  Post ReplyReply Direct Link To This Post Posted: 23 May 2008 at 6:27am
Well it again requires that the mouse is moved over the circle. I'm missing a way to display a ToolTip at a given position on the screen.
Like the CXTTipWindow's ShowTipWindow method.
 
-cpede
Back to Top
MacW View Drop Down
Senior Member
Senior Member


Joined: 26 June 2007
Status: Offline
Points: 253
Post Options Post Options   Thanks (0) Thanks(0)   Quote MacW Quote  Post ReplyReply Direct Link To This Post Posted: 26 May 2008 at 10:09am
I would be interested in that too. Showing a tooltip at a given location _without_ explicit mouse interaction or OnToolHitTest. It can be done via the CXTTipWindow, but that one has not been markup-enabled yet apparently.
Back to Top
cpede View Drop Down
Senior Member
Senior Member


Joined: 13 August 2004
Location: Denmark
Status: Offline
Points: 647
Post Options Post Options   Thanks (0) Thanks(0)   Quote cpede Quote  Post ReplyReply Direct Link To This Post Posted: 11 July 2008 at 4:53pm
Any plans or progress for this feature? Running against this limitation all the time :-)
 
-cpede
Back to Top
g_j_a_i_n View Drop Down
Groupie
Groupie
Avatar

Joined: 27 August 2005
Status: Offline
Points: 86
Post Options Post Options   Thanks (0) Thanks(0)   Quote g_j_a_i_n Quote  Post ReplyReply Direct Link To This Post Posted: 17 December 2008 at 6:24am

I use CPPToolTip class at CodeProject.com. It is very flexible.
Back to Top
ABuenger View Drop Down
Newbie
Newbie
Avatar

Joined: 02 February 2006
Status: Offline
Points: 1075
Post Options Post Options   Thanks (0) Thanks(0)   Quote ABuenger Quote  Post ReplyReply Direct Link To This Post Posted: 17 December 2008 at 8:47am
Originally posted by g_j_a_i_n g_j_a_i_n wrote:


I use CPPToolTip class at CodeProject.com. It is very flexible.


You don't need this one any longer

Codejock support
Back to Top
g_j_a_i_n View Drop Down
Groupie
Groupie
Avatar

Joined: 27 August 2005
Status: Offline
Points: 86
Post Options Post Options   Thanks (0) Thanks(0)   Quote g_j_a_i_n Quote  Post ReplyReply Direct Link To This Post Posted: 17 December 2008 at 11:21am

Can you tell us which XTP class I must use to get this functionality? Something that supports Office 2007 type tips etc.

Thanks.
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.203 seconds.