ToolTip() not working if window is minimized (possibly if otherwise hidden/invisible)
Issue #95
closed
AHK script - ToolTip is triggered whether GUI is minimized or not.
MyGui := Gui(, "Tooltip Madness")
ttBtn := MyGui.Add("Button", "x10", "Trigger a tooltip in a function")
ttBtn.OnEvent("Click", DriveMeNuts)
MyGui.Show()
^!]::
{
DriveMeNuts()
}
DriveMeNuts(*) {
DetectHiddenWindows(True)
ToolTip("Will this work?")
Sleep(1000)
ToolTip()
DetectHiddenWindows(False)
}
Keysharp works, but only if GUI is not minimized.
MyGui := Gui(, "Tooltip Madness")
ttBtn := MyGui.Add("Button", "x10", "Trigger a tooltip in a function")
ttBtn.OnEvent("Click", "DriveMeNuts")
MyGui.Show()
^!]::
{
DriveMeNuts()
}
DriveMeNuts() {
DetectHiddenWindows(True)
ToolTip("Will this work?")
Sleep(1000)
ToolTip()
DetectHiddenWindows(False)
}
Comments (3)
-
reporter -
reporter - changed status to resolved
-
reporter - changed status to closed
- Log in to comment
Fixed! Thank you. Marking resolved and closing.