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

HTML Tooltips

 Post Reply Post Reply
Author
Message
Simon HB9DRV View Drop Down
Senior Member
Senior Member
Avatar

Joined: 07 July 2005
Location: Switzerland
Status: Offline
Points: 458
Post Options Post Options   Thanks (0) Thanks(0)   Quote Simon HB9DRV Quote  Post ReplyReply Direct Link To This Post Topic: HTML Tooltips
    Posted: 22 September 2007 at 3:52am
Many, many thanks - a stonking implementation  !
 
Question: can I find out the correct background colour for tooltips for the current skin / theme? What would be the correct way to do this?
 
I can always use the standard Windows GetSystemMetric (or whatever) and there's a similar call in Codejock, but I am wondering what the recommended way to do this is? Similarly the tooltip fonts?
 
I ask becuase I will try to obey colouring and font style for the current skin and theme but this is not essential.
 
Whatever - take it easy - keep up the very good work, my users love the results I acheive with your libraries.
Simon HB9DRV
Back to Top
Simon HB9DRV View Drop Down
Senior Member
Senior Member
Avatar

Joined: 07 July 2005
Location: Switzerland
Status: Offline
Points: 458
Post Options Post Options   Thanks (0) Thanks(0)   Quote Simon HB9DRV Quote  Post ReplyReply Direct Link To This Post Posted: 22 September 2007 at 12:43pm
Also I see that style sheets can't be used - shame!
 
It would be nice but isn't essential.
Simon HB9DRV
Back to Top
Simon HB9DRV View Drop Down
Senior Member
Senior Member
Avatar

Joined: 07 July 2005
Location: Switzerland
Status: Offline
Points: 458
Post Options Post Options   Thanks (0) Thanks(0)   Quote Simon HB9DRV Quote  Post ReplyReply Direct Link To This Post Posted: 22 September 2007 at 1:00pm
And it would be very nice to be able to specify where the tooltip is displayed (absolute position) - also I don't see any offset options.
 
Offset would be good - I am sure it must be possible somehow..
Simon HB9DRV
Back to Top
terrym View Drop Down
Senior Member
Senior Member


Joined: 13 April 2007
Status: Offline
Points: 836
Post Options Post Options   Thanks (0) Thanks(0)   Quote terrym Quote  Post ReplyReply Direct Link To This Post Posted: 23 September 2007 at 8:04pm
Are these HTML tooltips anygood, have any screenshots of how cool they look ;)
Thank you,
Terry Mancey

email terry@tmancey.ltd.uk | linkedin www.tmancey.ltd.uk | twitter @tmancey
Back to Top
Simon HB9DRV View Drop Down
Senior Member
Senior Member
Avatar

Joined: 07 July 2005
Location: Switzerland
Status: Offline
Points: 458
Post Options Post Options   Thanks (0) Thanks(0)   Quote Simon HB9DRV Quote  Post ReplyReply Direct Link To This Post Posted: 24 September 2007 at 12:56am
It's HTML - so anything you can do in HTML is supported.
 
So far my only problem is that I can't use css, otheriwise it's spot on.
Simon HB9DRV
Back to Top
terrym View Drop Down
Senior Member
Senior Member


Joined: 13 April 2007
Status: Offline
Points: 836
Post Options Post Options   Thanks (0) Thanks(0)   Quote terrym Quote  Post ReplyReply Direct Link To This Post Posted: 24 September 2007 at 4:40am
Cool, anychance you can attach a few screenshots to show how cool they can be ???
Thank you,
Terry Mancey

email terry@tmancey.ltd.uk | linkedin www.tmancey.ltd.uk | twitter @tmancey
Back to Top
Simon HB9DRV View Drop Down
Senior Member
Senior Member
Avatar

Joined: 07 July 2005
Location: Switzerland
Status: Offline
Points: 458
Post Options Post Options   Thanks (0) Thanks(0)   Quote Simon HB9DRV Quote  Post ReplyReply Direct Link To This Post Posted: 24 September 2007 at 5:04am
The tips are as cool as the programmer  .
 
All I have done so far is replace RTF with HTML, HTML being much easier to write.
 
Other advantages will be adding icons - for example animated GIF's.
 
Simon HB9DRV
Back to Top
terrym View Drop Down
Senior Member
Senior Member


Joined: 13 April 2007
Status: Offline
Points: 836
Post Options Post Options   Thanks (0) Thanks(0)   Quote terrym Quote  Post ReplyReply Direct Link To This Post Posted: 24 September 2007 at 5:07am
Ok looks very cool, but can the background of the tooltip use the theme'd background ???
 
I assume transparent HTML is possible lol, and does this work
Thank you,
Terry Mancey

email terry@tmancey.ltd.uk | linkedin www.tmancey.ltd.uk | twitter @tmancey
Back to Top
terrym View Drop Down
Senior Member
Senior Member


Joined: 13 April 2007
Status: Offline
Points: 836
Post Options Post Options   Thanks (0) Thanks(0)   Quote terrym Quote  Post ReplyReply Direct Link To This Post Posted: 24 September 2007 at 5:10am
do you know which sample also shows how to do this, so we can start to add ;) as would be cool for our app
Thank you,
Terry Mancey

email terry@tmancey.ltd.uk | linkedin www.tmancey.ltd.uk | twitter @tmancey
Back to Top
Simon HB9DRV View Drop Down
Senior Member
Senior Member
Avatar

Joined: 07 July 2005
Location: Switzerland
Status: Offline
Points: 458
Post Options Post Options   Thanks (0) Thanks(0)   Quote Simon HB9DRV Quote  Post ReplyReply Direct Link To This Post Posted: 24 September 2007 at 5:51am
Originally posted by terrym terrym wrote:

Ok looks very cool, but can the background of the tooltip use the theme'd background ???
 
I assume transparent HTML is possible lol, and does this work
 
With HTML it is 100% up to you - you can get all colours from various Codejock calls, at the moment I'm using the Windows colours, not current theme / skin, will try this later today.
 
Also I will display emoticons which are resources in my executable.
 
As for transparent - I doubt this but Oleg will know. The IE engine is used to render a bitmap, I don't think I would want transparent tooltips myself.
 
What I do want is the ability to specify the tooltip co-ordinates, haven't figures this out yet.
Simon HB9DRV
Back to Top
Simon HB9DRV View Drop Down
Senior Member
Senior Member
Avatar

Joined: 07 July 2005
Location: Switzerland
Status: Offline
Points: 458
Post Options Post Options   Thanks (0) Thanks(0)   Quote Simon HB9DRV Quote  Post ReplyReply Direct Link To This Post Posted: 24 September 2007 at 5:52am
Originally posted by terrym terrym wrote:

do you know which sample also shows how to do this, so we can start to add ;) as would be cool for our app
 
ToolTipContext - Samples\CommandBars\ToolTipContext
Simon HB9DRV
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.156 seconds.