The help file wrote:The Function's Parameters
Parameter #1: The message's WPARAM value, which is an integer between 0 and 4294967295.
Parameter #2: The message's LPARAM value, which is an integer between 0 and 4294967295.
Code: Select all
#NoEnv
WM_MOUSEWHEEL := 0x020A
Gui, Show, w00 h00, Test GUI
OnMessage(WM_MOUSEWHEEL, "On_WM_MouseWheel")
Return
GuiClose:
ExitApp
On_WM_MouseWheel(W, L, M, H) {
ToolTip, % W
}]
78643220 or 4287102976 when running with AHK U32
78643220 or -78643220 when running with AHK U64
That's at least not 'as documented'.