ahk 1.1.33.10
win10 x64
In the following example, the count does not increase when the mouse stays on the gui and doesn't move anymore.
Code: Select all
Gui Show, w100 h100, Window
OnMessage(0x200, "WM_MOUSEMOVE")
return
GuiClose:
ExitApp
return
WM_MOUSEMOVE()
{
static zzz
aaa:
zzz++
ToolTip, %zzz%
return
}
Code: Select all
Gui Show, w100 h100, Window
OnMessage(0x200, "WM_MOUSEMOVE")
return
GuiClose:
ExitApp
return
WM_MOUSEMOVE()
{
static zzz
SetTimer, aaa, -100
return
aaa:
zzz++
ToolTip, %zzz%
return
}