Mouse Button Down Event

Description

For BBj-specific information, see Mouse Button Down Event - BBj.

The user pressed down the mouse button identified in the id field of the event template. If the Shift or Ctrl key was also pressed when the mouse button was pressed, it is identified in the flags field.

Mandatory/Optional

Optional.

Event Mask Bit

$00000040$

Event Template

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

Field

Description

context

Current window

code

d

id

Mouse button:

$00$ = Left

$01$ = Right

$02$ = Middle

flags

Key pressed:

$01$ = Shift

$02$ = Ctrl

x

Horizontal pixel location of the mouse click.

y

Vertical pixel location of the mouse click.