Jump to content

Sky Slate Blueberry Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate
Photo

[AHL_L/v2] TT() - Full-blown ToolTip Library


  • Please log in to reply
197 replies to this topic
HotKeyIt
  • Moderators
  • 7439 posts
  • Last active: Jun 22 2016 09:14 PM
  • Joined: 18 Jun 2008
3. Yes but you will need to use DllCall("CreateWindow"...), so it is not that simple and it is not AHK control with all the features but a manual control without label, variable....

You can try using SetParent so ToolTip will be parent of your gui.

  • Guests
  • Last active:
  • Joined: --
Okey, thanks.

mrplow123456
  • Members
  • 29 posts
  • Last active: Dec 26 2012 12:40 PM
  • Joined: 07 Feb 2012
Wasn't sure where to post, but figured that this would be just as good as any. I downloaded TT.ahk, _Struct.ahk, and sizeof.ahk and placed all of them in my projects \Lib directory. I decided to use the example on page one and I ran into problems immediately.

It reads:

Error at line 48 in #include file "C:\...\Lib\TT.ahk".

The following variable name contains an illegal character:

"options:"

The program will now exit

At first I thought I didn't have AHK_L so I redownloaded it, twice. Still, the error persisted. I then went back and erased all of the libraries and cleared my browsers cache and Save As...'d all of the files, still the problem persisted. The most recent attempt to fix this was to manually change all the errors, this became painstaking and eventually the script became unusuable. Why am I the only one having this issue? :?

Edit: I'm using AHK_L v 1.1.06.01 on Windows 7 x86 Professional on a Netbook.

HotKeyIt
  • Moderators
  • 7439 posts
  • Last active: Jun 22 2016 09:14 PM
  • Joined: 18 Jun 2008
Sorry I have replaced it by accident, try downloading again.

gemisigo
  • Members
  • 94 posts
  • Last active: Apr 02 2015 02:36 PM
  • Joined: 10 Sep 2010
According to the help TT.Show() should show the Tooltip at the mouse cursor but I always get it at the top left corner of the screen (shifted probably a pixel or two to bottom and right). Am I missing something important?

HotKeyIt
  • Moderators
  • 7439 posts
  • Last active: Jun 22 2016 09:14 PM
  • Joined: 18 Jun 2008
Sorry for that gemisigo, and thanks for letting me know.
I am currently working on improvements for _Struct and hope to release it this week, that problem will be fixed then.

gemisigo
  • Members
  • 94 posts
  • Last active: Apr 02 2015 02:36 PM
  • Joined: 10 Sep 2010
Thanks, HotKeyIt. I'm checking the link in your signature and I've just discovered that you've created some mean things :) I really should spend more time stalking this forum :(

I suppose there is an overlap between HotKeyIt and AutoHotFile. Which one do you recommend?

HotKeyIt
  • Moderators
  • 7439 posts
  • Last active: Jun 22 2016 09:14 PM
  • Joined: 18 Jun 2008
I have in mind to update both HotKeyIt and AutoHotFile.
AutoHotFile is thought for advanced users and it is file oriented.
HotKeyIt does not work with files but saves all scripts in an ini file.

I use AutoHotFile only.

HotKeyIt
  • Moderators
  • 7439 posts
  • Last active: Jun 22 2016 09:14 PM
  • Joined: 18 Jun 2008

According to the help TT.Show() should show the Tooltip at the mouse cursor but I always get it at the top left corner of the screen (shifted probably a pixel or two to bottom and right). Am I missing something important?

That should work now.

TT is now also available vor AutoHotkey v2



gemisigo
  • Members
  • 94 posts
  • Last active: Apr 02 2015 02:36 PM
  • Joined: 10 Sep 2010
Weird. I compared the new and the old file and I see that there are only two lines changed but those made it not to show anything at all. Later today I'll separate the calling part of my code from the rest of it to make sure nothing interferes and try it again.

Also, TT.chm shows "Navigation to the webpage was canceled". Does it require something specific to be set up?

HotKeyIt
  • Moderators
  • 7439 posts
  • Last active: Jun 22 2016 09:14 PM
  • Joined: 18 Jun 2008
TT.chm should be alright now.

:!: Note, you will need latest version of _Struct and sizeof :!:

gemisigo
  • Members
  • 94 posts
  • Last active: Apr 02 2015 02:36 PM
  • Joined: 10 Sep 2010
You were right, I had to update both _Struct and sizeof, now all of them are working properly, TT.chm as well. Thank you very much, HotkeyIt.

HotKeyIt
  • Moderators
  • 7439 posts
  • Last active: Jun 22 2016 09:14 PM
  • Joined: 18 Jun 2008

Small fix for v2 alpha 031 (WinGetPid).



teadrinker
  • Members
  • 11 posts
  • Last active: Feb 24 2019 02:57 PM
  • Joined: 21 Nov 2010
Links
TT.ahk (function) - TT.ahk (v2 version) - TT.chm (help file) - Documentation Online
aren't working now. What happened?

HotKeyIt
  • Moderators
  • 7439 posts
  • Last active: Jun 22 2016 09:14 PM
  • Joined: 18 Jun 2008
autoHotkey.net was down, seems to work fine now :D