Sign in to follow this  
Followers 0
BinaryBrother

Simple little ToolTip issue... [RESOLVED]

1 post in this topic

#1 ·  Posted (edited)

I'm using the following in a loop...

If Not WinExists("Temp: " & $Temp & @CRLF & "Usage: " & $Usage) Then
    ToolTip("Temp: " & $Temp & @CRLF & "Usage: " & $Usage & "%",$MousePos[0]+25,$MousePos[1]+10,"CPU Info")
Else
    WinMove("Temp: " & $Temp & @CRLF & "Usage: " & $Usage & "%","",$MousePos[0]+25,$MousePos[1]+10)
EndIf

That helps cut down on the flickering of the ToolTip, if the correct values already exist it doesn't redraw the ToolTip, which just makes me want to have a seizure...

Is there a better way? I've been trying to find a custom-style ToolTip on the forums, but can't dig anything up... Not to mention, the above code 'blinks' for just a millisecond where the ToolTip was like 2 seconds ago... A very odd timing issue, but I almost prefer that over the seizure causing ToolTip with the 400 blinks a second... :P

I'm also open to not using a ToolTip at all, but it was the best delivery method I found at the time, for displaying such information that follows your mouse.

I really hate not being able to delete my own topics....

The answer lies here for this searchers out there who pull my useless topic... lol

http://www.autoitscript.com/forum/index.php?showtopic=86112

Edited by BinaryBrother

Share this post


Link to post
Share on other sites



Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0