Discussions related to mouse, keyboard, fonts and Graphical User Interface
4 posts • Page 1 of 1
What meaning would that have? INKEY with a positive (or zero) parameter returns information about events (keypresses and mouse wheel rotations) whereas INKEY with a negative parameter returns information about states (e.g. whether a key is currently pressed or not). Events and states are fundamentally different concepts: events are dynamic, they indicate that something happened at a certain point in time, whereas states are static, they just tell you how something is now. What states are associated with the mouse wheel? I can't think of any.
Of course on many two-button mice the mouse wheel (when pressed rather than rotated) behaves like the centre button of a three-button mouse. In that case there certainly is an associated negative INKEY value: −11. But that's unconnected with it being a wheel!