Home | Categories | Alphabetical | Classes | All Contents | [ < ] | [ > ]

IDLitWindow::SetEventMask


Syntax | Arguments | Keywords | Version History

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.

Syntax

Obj->[IDLitWindow::]SetEventMask([EventMask] [, /BUTTON_EVENTS] [, /KEYBOARD_EVENTS] [, /MOTION_EVENTS] [, /TRACKING_EVENTS])

Arguments

EventMask

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

This argument is optional; the keywords described below may be used instead.

Keywords

BUTTON_EVENTS

Set this keyword to indicate that mouse button events are to be enabled for this window.

KEYBOARD_EVENTS

Set this keyword to indicate the keyboard events are to be enabled for this window.

MOTION_EVENTS

Set this keyword to indicate that mouse motion events are to be enabled for this window.

TRACKING_EVENTS

Set this keyword to indicate that tracking events are to be enabled for this window.

Version History

Introduced: 6.0


Home | Categories | Alphabetical | Classes | All Contents | [ < ] | [ > ]