HTML Tooltips |
Post Reply |
Author | |
Simon HB9DRV
Senior Member Joined: 07 July 2005 Location: Switzerland Status: Offline Points: 458 |
Post Options
Thanks(0)
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
|
|
Simon HB9DRV
Senior Member Joined: 07 July 2005 Location: Switzerland Status: Offline Points: 458 |
Post Options
Thanks(0)
|
Also I see that style sheets can't be used - shame!
It would be nice but isn't essential.
|
|
Simon HB9DRV
|
|
Simon HB9DRV
Senior Member Joined: 07 July 2005 Location: Switzerland Status: Offline Points: 458 |
Post Options
Thanks(0)
|
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
|
|
terrym
Senior Member Joined: 13 April 2007 Status: Offline Points: 836 |
Post Options
Thanks(0)
|
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 |
|
Simon HB9DRV
Senior Member Joined: 07 July 2005 Location: Switzerland Status: Offline Points: 458 |
Post Options
Thanks(0)
|
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
|
|
terrym
Senior Member Joined: 13 April 2007 Status: Offline Points: 836 |
Post Options
Thanks(0)
|
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 |
|
Simon HB9DRV
Senior Member Joined: 07 July 2005 Location: Switzerland Status: Offline Points: 458 |
Post Options
Thanks(0)
|
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
|
|
terrym
Senior Member Joined: 13 April 2007 Status: Offline Points: 836 |
Post Options
Thanks(0)
|
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 |
|
terrym
Senior Member Joined: 13 April 2007 Status: Offline Points: 836 |
Post Options
Thanks(0)
|
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 |
|
Simon HB9DRV
Senior Member Joined: 07 July 2005 Location: Switzerland Status: Offline Points: 458 |
Post Options
Thanks(0)
|
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
|
|
Simon HB9DRV
Senior Member Joined: 07 July 2005 Location: Switzerland Status: Offline Points: 458 |
Post Options
Thanks(0)
|
ToolTipContext - Samples\CommandBars\ToolTipContext
|
|
Simon HB9DRV
|
|
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 |