How to 'build' WM_MOUSEWHEEL w/lParams?

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
fabricio234
Posts: 122
Joined: 06 Mar 2020, 21:48

How to 'build' WM_MOUSEWHEEL w/lParams?

12 Apr 2022, 21:09

does someone know how to build the `wParam` and `lParam` used on `WM_MOUSEWHEEL`?

Code: Select all

WindowTitle := "..."
WinGet, hWnd, Id, %WindowTitle%

msg := 522 ; WM_MOUSEWHEEL
x := 100
y := 100
wParam  := ?
lParam  := ?
PostMessage, %msg%, %wParam%, %lParam%,, ahk_id %hWnd%
im trying to simulate scroll up/down using send or postmessage

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: Bing [Bot] and 392 guests