Quantcast
Channel: AutoHotkey Community
Viewing all articles
Browse latest Browse all 579

Scripts and Functions (v2) • System Theme Aware ToolTip

$
0
0
This will make your ToolTip style conform to the current system theme (dark/ light mode and rounded corners on Win 11).


How It Looks Like (On Windows 11/ Dark Mode)
image.png



How To Use
Just simply include this class in your script, and you're good to go!
No need to create an instance.

If you saved this class in your …\ScriptDir\lib folder.

CODE:

#Requires AutoHotkey v2 
#Include <SystemThemeAwareToolTip>
ToolTip "Zdravo!"
SetTimer ToolTip, -3000


If you saved this class in your …\ScriptDir folder.

CODE:

#Requires AutoHotkey v2 
#Include SystemThemeAwareToolTip.ahk
ToolTip "Zdravo!"
SetTimer ToolTip, -3000



Get the Code
On GitHub

Statistics: Posted by NPerovic — 34 minutes ago



Viewing all articles
Browse latest Browse all 579

Trending Articles