EVENTMASK Mnemonic - Change Event Mask

Syntax

'EVENTMASK'(mask)

Description

For BBj-specific information, see EVENTMASK Mnemonic - BBj.

The 'EVENTMASK' mnemonic changes the set of events that are reported by a given window.

Parameter

Description

mask

A hexadecimal string.

Following is the list of event masks:

Event

Code

Mask Bit

Activation

A

$40000000$

Push Button

B

Mandatory

Check/Uncheck

c

$02000000$

Control Focus Gained/Lost

f

$00800000$

Edit Control Modify

e

$00400000$

Keypress

t

$00000400$

List Item Click

l (lower case L)

$01000000$

Menu Selection

C

Mandatory

Mouse Button Down

d

$00000040$

Mouse Button Up

u

$00000080$

Mouse Double-Click

2

$00000200$

Mouse Move

m

$00000100$

Notify

N

Mandatory

Right Mouse Button Down

R

$20000000$

Scrollbar Move

p

$00100000$

System Color Change

s

$80000000$

Tool Button Push

b

Mandatory

Window Close Box

X

Mandatory

Window Focus Gained/Lost

F

$00000004$

Window Resize

S

$00000008$


To get all events possible:

PRINT (sysgui_chan) 'EVENTMASK'($ffffffff$)

To get only the required events:

PRINT (sysgui_chan) 'EVENTMASK'($00000000$)

See Also

Mnemonics - Alphabetical Listing

Mnemonics - Group Listing