What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [Resource] ToolTip Class (Updated: 14/08/07)

[Resource] ToolTip Class (Updated: 14/08/07)
Author: Message:
Matti
Elite Member
*****

Avatar
Script Developer and Helper

Posts: 1646
Reputation: 39
32 / Male / Flag
Joined: Apr 2004
RE: [Resource] ToolTip Class (Updated: 14/08/07)
quote:
Originally posted by V@no
I can't seem to get this working on StaticControl type controls (aka simple text).

Any suggestions?
Thank you.
Win32 Tooltips can only be attached to controls which expose a HWND. Labels don't have a HWND type property, so you can't pass it in the TOOLINFO structure to TTM_ADDTOOL.

You could cheat though, by listening to WM_MOUSEMOVE on the window and detecting when the mouse hovers the label. When this happens, you'd assign a tooltip to the window instead of the label. When the mouse goes out of the label rectangle again, you'd remove the tooltip from the window. As you may have guessed, this is considered to be a pretty nasty workaround. :P
Plus! Script Developer | Plus! Beta Tester | Creator of Countdown Live | Co-developer of Screenshot Sender 5

Found my post useful? Rate me!
08-29-2010 06:57 PM
Profile E-Mail PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
[Resource] ToolTip Class (Updated: 14/08/07) - by Eljay on 01-06-2007 at 06:18 PM
RE: [Resource] ToolTip Class - by hmaster on 01-06-2007 at 06:25 PM
RE: [Resource] ToolTip Class - by Thor on 01-06-2007 at 06:25 PM
RE: [Resource] ToolTip Class - by matty on 01-06-2007 at 06:26 PM
RE: [Resource] ToolTip Class - by Dempsey on 01-06-2007 at 06:32 PM
RE: [Resource] ToolTip Class - by the andyman on 01-06-2007 at 06:49 PM
RE: [Resource] ToolTip Class - by hmaster on 01-06-2007 at 07:33 PM
RE: [Resource] ToolTip Class - by deAd on 01-06-2007 at 10:03 PM
RE: [Resource] ToolTip Class - by Chestah on 01-06-2007 at 10:46 PM
RE: [Resource] ToolTip Class - by Matti on 01-07-2007 at 08:34 AM
RE: [Resource] ToolTip Class - by Felu on 01-07-2007 at 08:41 AM
RE: [Resource] ToolTip Class - by Eljay on 01-07-2007 at 08:47 AM
RE: [Resource] ToolTip Class - by Matti on 01-07-2007 at 09:41 AM
RE: [Resource] ToolTip Class - by the andyman on 01-08-2007 at 05:05 PM
RE: [Resource] ToolTip Class - by Eljay on 01-08-2007 at 05:09 PM
RE: [Resource] ToolTip Class - by Matti on 01-08-2007 at 05:10 PM
RE: [Resource] ToolTip Class - by CookieRevised on 01-08-2007 at 05:12 PM
RE: [Resource] ToolTip Class - by Matti on 01-08-2007 at 05:26 PM
RE: [Resource] ToolTip Class - by Flash on 02-24-2007 at 10:51 PM
RE: [Resource] ToolTip Class - by Flash on 03-18-2007 at 05:59 PM
RE: [Resource] ToolTip Class - by Eljay on 03-18-2007 at 09:00 PM
RE: [Resource] ToolTip Class - by Matti on 08-10-2007 at 04:48 PM
RE: [Resource] ToolTip Class (Updated: 14/08/07) - by Eljay on 08-14-2007 at 04:06 PM
RE: [Resource] ToolTip Class (Updated: 14/08/07) - by Matti on 08-14-2007 at 04:15 PM
RE: [Resource] ToolTip Class (Updated: 14/08/07) - by Flash on 09-13-2007 at 02:43 AM
RE: [Resource] ToolTip Class (Updated: 14/08/07) - by Matti on 09-13-2007 at 03:26 PM
RE: [Resource] ToolTip Class (Updated: 14/08/07) - by Flash on 09-14-2007 at 09:46 AM
RE: [Resource] ToolTip Class (Updated: 14/08/07) - by matty on 09-14-2007 at 11:16 AM
RE: [Resource] ToolTip Class (Updated: 14/08/07) - by Flash on 09-14-2007 at 10:52 PM
RE: [Resource] ToolTip Class (Updated: 14/08/07) - by Flash on 09-16-2007 at 12:11 PM
RE: [Resource] ToolTip Class (Updated: 14/08/07) - by Dempsey on 09-16-2007 at 08:41 PM
RE: [Resource] ToolTip Class (Updated: 14/08/07) - by Flash on 09-16-2007 at 11:13 PM
RE: [Resource] ToolTip Class (Updated: 14/08/07) - by SmokingCookie on 07-15-2008 at 06:52 AM
RE: [Resource] ToolTip Class (Updated: 14/08/07) - by tribbium on 07-21-2009 at 08:36 AM
RE: [Resource] ToolTip Class (Updated: 14/08/07) - by SmokingCookie on 07-21-2009 at 03:23 PM
RE: [Resource] ToolTip Class (Updated: 14/08/07) - by V@no on 08-28-2010 at 10:57 PM
RE: [Resource] ToolTip Class (Updated: 14/08/07) - by Matti on 08-29-2010 at 06:57 PM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On