|
IDL Reference Guide: iTools Object Classes |
|
The IDLitWindow::SetEventMask procedure method enables the given events within this window.
When an event occurs within this window, if the corresponding event type is enabled, then the list of its window event observers will be notified of the event. See IDLitWindow::AddWindowEventObserver for more details.
Obj->[IDLitWindow::]SetEventMask, [EventMask] [, /BUTTON_EVENTS] [, /KEYBOARD_EVENTS] [, /MOTION_EVENTS] [, /TIMER_EVENTS] [, /TRACKING_EVENTS] [, /WHEEL_EVENTS]
An unsigned long integer representing the bitwise mask for the events that are to be enabled for this window. 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
|
This argument is optional; the keywords described below may be used instead.
Set this keyword to indicate that mouse button events are to be enabled for this window.
Set this keyword to indicate the keyboard events are to be enabled for this window.
Set this keyword to indicate that mouse motion events are to be enabled for this window.
Set this keyword to indicate that timer events are to be enabled for this window.
Set this keyword to indicate that tracking events are to be enabled for this window.
| Warning In order to receive tracking events, you must implement the IDLitWindow::OnEnter and IDLitWindow::OnExit methods in your own subclass of the IDLitWindow class. |
Set this keyword to indicate that mouse wheel events are to be enabled for this window.
IDL Online Help (March 06, 2007)