Set Mouse Capture Mode - GRID SENDMSG() Function 64

Syntax

NULL$=SENDMSG(sysgui,id,64,capture_mode,$${,context{,ERR=lineref}})

Description

This function sets the mouse capture mode for main grids.

Parameter

Description

sysgui

SYSGUI channel.

id

Grid control ID.

64

Number of this SENDMSG() function.

capture_mode

0 Prevents the grid control from generating MOUSECAPTURE events.

1 Causes the grid control to capture mouse movements every 1/10th of a second and generate the MOUSECAPTURE event.

$$

Always null.

Typically, the mouse capture mode is toggled in response to an LCLICKED or RCLICKED Notify event. The return value is a null string.

See Also

Set Mouse Scrolling Mode - Grid SENDMSG() Function 65

BBjGrid::setMouseCapture