AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

ToolTip() - Advanced ToolTip features + Unicode
Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8
 
Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions
View previous topic :: View next topic  

Do you think AutoHotkey should have that features/function internally?
Yes
33%
 33%  [ 4 ]
Yes, even more ToolTip features please
33%
 33%  [ 4 ]
No, I don't need them
0%
 0%  [ 0 ]
No, to complex to use
25%
 25%  [ 3 ]
No
8%
 8%  [ 1 ]
Total Votes : 12

Author Message
Drugwash



Joined: 07 Sep 2008
Posts: 921
Location: Ploiesti, RO

PostPosted: Sun Jul 04, 2010 12:35 pm    Post subject: Reply with quote

The Help manual bundled with AHK contains a WindowProc override script that could help achieve the desired result, but I'm pretty sure it won't work in a tooltip; try creating a captionless, borderless window instead. Careful with leaking handles.
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger
Gauss



Joined: 10 Sep 2009
Posts: 203

PostPosted: Sun Jul 18, 2010 7:34 pm    Post subject: Reply with quote

Is it possible to extract associated icon from dll file?
like
Code:
GetAssociatedIcon("C:\Windows\System32\imageres.dll,16")
Back to top
View user's profile Send private message
HotKeyIt



Joined: 18 Jun 2008
Posts: 4653
Location: AHK Forum

PostPosted: Sun Jul 18, 2010 7:40 pm    Post subject: Reply with quote

No but Menu Icons can do that using MI_ExtractIcon().
That is also what GetAssociatedIcon() uses.
_________________
AHK_H (2alpha) AHF TT _Struct WatchDir Yaml _Input ObjTree RapidHotkey DynaRun Wink
Back to top
View user's profile Send private message
Drugwash



Joined: 07 Sep 2008
Posts: 921
Location: Ploiesti, RO

PostPosted: Fri Jul 23, 2010 10:08 am    Post subject: Reply with quote

You may have a look at VersionInfo Lister too.
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger
hughman



Joined: 11 Feb 2007
Posts: 166

PostPosted: Fri Jul 23, 2010 2:49 pm    Post subject: Reply with quote

It doesn't support unicode.
TTM_UPDATETIPTEXT has unicode version.
Back to top
View user's profile Send private message
HotKeyIt



Joined: 18 Jun 2008
Posts: 4653
Location: AHK Forum

PostPosted: Fri Jul 23, 2010 6:48 pm    Post subject: Reply with quote

Now it does, find ToolTipU at the bottom of first post Wink
_________________
AHK_H (2alpha) AHF TT _Struct WatchDir Yaml _Input ObjTree RapidHotkey DynaRun Wink
Back to top
View user's profile Send private message
hughman



Joined: 11 Feb 2007
Posts: 166

PostPosted: Sat Jul 24, 2010 6:13 am    Post subject: Reply with quote

In fact, it's no need to release two versions. TooltipU should be run correctly for mainstream AHK too, in which A_IsUnicode is always null.
Back to top
View user's profile Send private message
HotKeyIt



Joined: 18 Jun 2008
Posts: 4653
Location: AHK Forum

PostPosted: Sat Jul 24, 2010 8:00 am    Post subject: Reply with quote

You are right, I replaced ToolTip with ToolTipU now, so now there is one ToolTip() which should work for any version.
_________________
AHK_H (2alpha) AHF TT _Struct WatchDir Yaml _Input ObjTree RapidHotkey DynaRun Wink
Back to top
View user's profile Send private message
HotKeyIt



Joined: 18 Jun 2008
Posts: 4653
Location: AHK Forum

PostPosted: Tue Aug 24, 2010 6:33 pm    Post subject: Reply with quote

Fixed problem where ToolTip was shown only once when it was used for one control only.
Now links are working for controls ToolTips as well, you cannot click them but it looks nice Smile
_________________
AHK_H (2alpha) AHF TT _Struct WatchDir Yaml _Input ObjTree RapidHotkey DynaRun Wink
Back to top
View user's profile Send private message
sonchaz



Joined: 29 Sep 2009
Posts: 47
Location: Canada

PostPosted: Sun Sep 26, 2010 10:44 pm    Post subject: Reply with quote

when i try and run your first examples i get error

"Specifically: RemoteBuf_Open(TrayH,hWndToolBar,20)"

win,xp,sp3
_________________
Movie Finder
Back to top
View user's profile Send private message MSN Messenger
HotKeyIt



Joined: 18 Jun 2008
Posts: 4653
Location: AHK Forum

PostPosted: Mon Sep 27, 2010 11:40 am    Post subject: Reply with quote

sonchaz wrote:
when i try and run your first examples i get error

"Specifically: RemoteBuf_Open(TrayH,hWndToolBar,20)"

win,xp,sp3
You need RemoteBuf functions
_________________
AHK_H (2alpha) AHF TT _Struct WatchDir Yaml _Input ObjTree RapidHotkey DynaRun Wink
Back to top
View user's profile Send private message
segalion
Guest





PostPosted: Thu Dec 02, 2010 3:46 pm    Post subject: Gif or png images in tooltip? Reply with quote

Hello.

Do you know if can be possible to use this power tooltip with .gif or .png images as AHK_L menu icons?

Thanks in advance.
Back to top
HotKeyIt



Joined: 18 Jun 2008
Posts: 4653
Location: AHK Forum

PostPosted: Thu Dec 02, 2010 11:09 pm    Post subject: Reply with quote

Use TT() if you are using AHK_L.
I have updated it to accept png, gif, jpg and even hex string.
_________________
AHK_H (2alpha) AHF TT _Struct WatchDir Yaml _Input ObjTree RapidHotkey DynaRun Wink
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions All times are GMT
Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8
Page 8 of 8

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group