dobro wrote: at this time why the constants :
#WM_LBUTTONDOWN
#WM_LBUTTONDBLCLK
#WM_RBUTTONDOWN
#WM_MOUSEWHEEL
ect ...
are recognized by Purebasic?
and why just # WM_LBUTTONUP
do not be?
It's not so hard. Pay attention:
The #WM_* constants are defined in PB to be usable with the API. The same API you already find in the residents for your convenience. So you don't have to manually import them.
Again for your convenience you have API constants, and a lot of structures, already defined in the residents, to be used with those API.
So when you say "recognized" you should say "defined".
They are defined. Even #WM_LBUTTONUP is still currently defined in PB. It's not vanished.
You can perfectly use it where it's supposed to be used it. In a callback, in a API function as sendmessage_(), in your manual subclassing of a window, etc.
Now, some of those messages ( S O M E is the keyword) are also returned, and not D O C U M E N T E D as valid return values by WindowEvent(). You have no right to suppose for them to be returned by WindowEvent(). Is that clear enough ? You want to use it anyway ? It's up to you.
One of them is no more returned in a newer version of PB ? Find another way (the proper way) because it was entirely your fault to rely on them.