Page 1 of 1

WM_MOUSEWHEEL inconsistency

Posted: Wed Nov 01, 2023 4:50 pm
by Controller
For some reasons, #WM_MOUSEHWHEEL sometimes has a value of 522 and sometimes 526
Maybe this value changes on later compiling steps or something.

Tested with PureBasic, and all versions produce this behavior:
6.03 LTS x64
5.73 LTS x64
5.73 LTS x86
5.46 LTS x86 (for Ansi)
5.31 x86 (for Windows 95+)

Code: Select all

#SomeValue = #WM_MOUSEHWHEEL
Debug #SomeValue
Debug #WM_MOUSEWHEEL

Code: Select all

[16:35:33] Waiting for executable to start...
[16:35:33] Executable type: Windows - x64  (64bit, Unicode)
[16:35:33] Executable started.
[16:35:33] [Debug] 526
[16:35:33] [Debug] 522
[16:35:33] The Program execution has finished.

Re: WM_MOUSEWHEEL inconsistency

Posted: Wed Nov 01, 2023 6:28 pm
by User_Russian
Controller wrote: Wed Nov 01, 2023 4:50 pm#SomeValue = #WM_MOUSEHWHEEL
Debug #SomeValue
Debug #WM_MOUSEWHEEL

Code: Select all

Debug #WM_MOUSEHWHEEL
Debug #WM_MOUSEWHEEL

Re: WM_MOUSEWHEEL inconsistency

Posted: Wed Nov 01, 2023 6:33 pm
by HeX0R
and the values are correct
WM_MOUSEHWHEEL
WM_MOUSEWHEEL

Re: WM_MOUSEWHEEL inconsistency

Posted: Wed Nov 01, 2023 9:16 pm
by Controller
Ah, thanks :shock: