Skip to content

rawbx/AHK-MsgTip

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

AHK-MsgTip

The default AHK's tooltip is ugly and cannot be customized, nor can it be used as a tip for GUI controls, so I wrote this library.

Some colors and styles that can be set, such as: fontOption, backgroundColor, textColor, borderColor, roundedConner, shape, etc. If you don't want to customize, MsgTip will follow the system theme(dark or light).

Usage

Put MsgTip.ahk to you lib folder.

If you want to use it as screen tootip.

#Include <MsgTip>

tip := MsgTip(timeout := 5000, { bgColor: 0x15161f, textColor: 0x91a3ff, marginsVal: [20, 20, 20, 20] })
tipContent := {name: "v", age: 20, skills: Map(1, "cpp", 2, "python", 3, "typescript")}
tip.ShowScreenTip(tipContent, timeout := 3000)

Or show a tip to your gui control.

#Include <MsgTip>

tip := MsgTip(timeout:=2000)
tmpGui := Gui()
btn := tmpGui.AddButton("w220 h50", "Hover it")
btn.AddTip("Hi! I am a btn")
tmpGui.Show()

About

ahkv2 custom tooltip for screen or guiCtrl

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors