|
IDL Reference Guide: iTools Object Classes |
|
The IDLitWindow::GetEventMask function method returns a bitwise mask representing the events that are enabled for this window.
Result = Obj->[IDLitWindow::]GetEventMask([, BUTTON_EVENTS=variable] [, KEYBOARD_EVENTS=variable] [, MOTION_EVENTS=variable] [, TIMER_EVENTS=variable] [, TRACKING_EVENTS=variable] [, WHEEL_EVENTS=variable] )
Returns the bitwise mask as an unsigned long integer. The bits in the mask are as follows:
|
Bit
|
Value
|
Event
|
|---|---|---|
|
0
|
1
|
Button Events
|
|
1
|
2
|
Motion Events
|
|
2
|
4
|
Keyboard Events
|
|
3
|
8
|
Tracking Events
|
|
4
|
16
|
Timer Events
|
|
5
|
32
|
Wheel Events
|
None
Set this keyword equal to a named variable that will contain a 1 if mouse button events are currently enabled for this window, or a 0 otherwise.
Set this keyword equal to a named variable that will contain a 1 if keyboard events are currently enabled for this window, or a 0 otherwise.
Set this keyword equal to a named variable that will contain a 1 if mouse motion events are currently enabled for this window, or a 0 otherwise.
Set this keyword equal to a named variable that will contain a 1 if timer events are currently enabled for this window, or a 0 otherwise.
Set this keyword equal to a named variable that will contain a 1 if tracking events are currently enabled for this window, or a 0 otherwise.
Set this keyword equal to a named variable that will contain a 1 if wheel events are currently enabled for this window, or a 0 otherwise.
IDL Online Help (March 06, 2007)