Window Focus Gained/Lost Event

Description

The user caused the window to gain or lose focus.

- The primary way to cause a window to gain focus is to click it with the mouse.

- The primary way to cause a window to lose focus is to click another window with the mouse.

Mandatory/Optional

Optional.

Event Mask Bit

$00000004$

Event Template

context:u(2),code:c(1),id:u(2),flags:u(1),x:u(2),y:u(2)

Field

Description

context

Window that gained or lost focus.

code

F

id

0

flags

0 if focus lost, 1 if focus gained.

x

0 = Permanent
1 = Temporary (BBj 12.0 and higher)

y

0

See Also

BBjWindowGainedFocusEvent

BBjWindowLostFocusEvent