MOUEVENTINFO: Difference between revisions
Appearance
New |
mNo edit summary |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
Mouse event queue data structure. | |||
=== Type === | |||
[[ULONG]] fs | |||
=== Type === | [[LONG]] row | ||
LONG col | |||
[[ | ULONG time | ||
[[ | |||
==== C Declaration Method ==== | ==== C Declaration Method ==== | ||
typedef struct | typedef struct | ||
=== Fields === | === Fields === | ||
;fs:Mouse state. | |||
:The state of the mouse at the time of the event. | |||
::{|class="wikitable" | |||
!Bit||Description | |||
|- | |||
|31-7||Reserved; set to zero. | |||
|- | |||
|6||Set if button 3 is down. | |||
|- | |||
|5||Set if mouse is moving and button 3 is down. | |||
|- | |||
|4||Set if button 2 is down. | |||
|- | |||
|3||Set if mouse is moving and button 2 is down. | |||
|- | |||
|2||Set if button 1 is down. | |||
|- | |||
|1||Set if mouse is moving and button 1 is down. | |||
|- | |||
|0||Set if mouse is moving and no buttons are down. | |||
|} | |||
;row:Horizontal position. | |||
:The absolute or relative row position. | |||
;col:Vertical position. | |||
:The absolute or relative column position. | |||
;time:Time stamp. | |||
[[Category:Data type]] | |||
Latest revision as of 18:57, 11 December 2019
Mouse event queue data structure.
Type
ULONG fs LONG row LONG col ULONG time
C Declaration Method
typedef struct
Fields
- fs
- Mouse state.
- The state of the mouse at the time of the event.
Bit Description 31-7 Reserved; set to zero. 6 Set if button 3 is down. 5 Set if mouse is moving and button 3 is down. 4 Set if button 2 is down. 3 Set if mouse is moving and button 2 is down. 2 Set if button 1 is down. 1 Set if mouse is moving and button 1 is down. 0 Set if mouse is moving and no buttons are down.
- row
- Horizontal position.
- The absolute or relative row position.
- col
- Vertical position.
- The absolute or relative column position.
- time
- Time stamp.