Print Page | Close Window

HTML Tooltips

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=8125
Printed Date: 13 November 2025 at 7:35pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: HTML Tooltips
Posted By: Simon HB9DRV
Subject: HTML Tooltips
Date 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



Replies:
Posted By: Simon HB9DRV
Date 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


Posted By: Simon HB9DRV
Date 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


Posted By: terrym
Date 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


Posted By: Simon HB9DRV
Date 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


Posted By: terrym
Date 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


Posted By: Simon HB9DRV
Date 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


Posted By: terrym
Date 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


Posted By: terrym
Date 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


Posted By: Simon HB9DRV
Date 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


Posted By: Simon HB9DRV
Date 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



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