Jump to content

MOUEVENTINFO: Difference between revisions

From EDM2
No edit summary
Ak120 (talk | contribs)
mNo edit summary
Line 1: Line 1:
== MOUEVENTINFO ==
== MOUEVENTINFO ==
Mouse event queue data structure.  
Mouse event queue data structure.  


=== Type ===  
=== Type ===
 
  [[ULONG]]  fs
  [[OS2 API:DataType:ULONG|ULONG]]  fs
  [[LONG]]  row
  [[OS2 API:DataType:LONG|LONG]]  row
  LONG  col
  [[OS2 API:DataType:LONG|LONG]]   col
  ULONG  time
  [[OS2 API:DataType:ULONG|ULONG]] time


==== C Declaration Method ====
==== C Declaration Method ====
typedef struct
typedef struct


=== Fields ===
=== Fields ===
 
;fs:Mouse state.
fs   Mouse state.
:The state of the mouse at the time of the event.
      The state of the mouse at the time of the event.
Bit  Description  
      Bit  Description  
31-7  Reserved; set to zero.  
      31-7  Reserved; set to zero.  
6    Set if button 3 is down.  
      6    Set if button 3 is down.  
5    Set if mouse is moving and button 3 is down.  
      5    Set if mouse is moving and button 3 is down.  
4    Set if button 2 is down.  
      4    Set if button 2 is down.  
3    Set if mouse is moving and button 2 is down.  
      3    Set if mouse is moving and button 2 is down.  
2    Set if button 1 is down.  
      2    Set if button 1 is down.  
1    Set if mouse is moving and 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.
      0    Set if mouse is moving and no buttons are down.
;row:Horizontal position.
 
:The absolute or relative row position.
row   Horizontal position.
;col:Vertical position.
      The absolute or relative row position.
:The absolute or relative column position.
 
;time:Time stamp.
col   Vertical position.
      The absolute or relative column position.
 
time Timestamp.
      Time stamp.
 
 
 
 
[[OS2_API | Back to OS/2 API]]
 


[[Category:The OS/2 API Project]]
[[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.