WM_MOUSEWHEEL inconsistency

Just starting out? Need help? Post your questions and find answers here.
User avatar
Controller
User
User
Posts: 28
Joined: Thu Jul 22, 2004 5:26 am
Location: Germany
Contact:

WM_MOUSEWHEEL inconsistency

Post 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.
User_Russian
Addict
Addict
Posts: 1519
Joined: Wed Nov 12, 2008 5:01 pm
Location: Russia

Re: WM_MOUSEWHEEL inconsistency

Post 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
User avatar
HeX0R
Addict
Addict
Posts: 1189
Joined: Mon Sep 20, 2004 7:12 am
Location: Hell

Re: WM_MOUSEWHEEL inconsistency

Post by HeX0R »

and the values are correct
WM_MOUSEHWHEEL
WM_MOUSEWHEEL
User avatar
Controller
User
User
Posts: 28
Joined: Thu Jul 22, 2004 5:26 am
Location: Germany
Contact:

Re: WM_MOUSEWHEEL inconsistency

Post by Controller »

Ah, thanks :shock:
Post Reply