MOUEVENTINFO: Difference between revisions
Appearance
No edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
== MOUEVENTINFO == | == MOUEVENTINFO == | ||
Mouse event queue data structure. | Mouse event queue data structure. | ||
=== Type === | === Type === | ||
[[ULONG]] fs | |||
[[ | [[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. | |||
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: | [[Category:Data type]] |
Revision as of 23:08, 23 November 2016
MOUEVENTINFO
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.