CONTROL SEND

<< Click to Display Table of Contents >>

Navigation:  ThinBASIC Modules > UI (User Interface) > CONTROLS > Control Commands >

CONTROL SEND

 

Description

 

Send a message to a dialog control.

 

Syntax

 

CONTROL SEND hwnd, ctrlID, Msg, wParam, lParam [ TO Result]

 

Returns

 

None

 

Parameters

 

Name

Type

Optional

Meaning

hwnd

Number

No

Handle of the dialog containing the control

ctrlID

Number

No

Control identifier assigned to the control during CONTROL ADD ...

Msg

Number

No

Is the message you want to send to the control

wParam

Number

No

First parameter. This value is Msg dependant

lParam

Number

No

Second parameter. This value is Msg dependant

Result

Variable

Yes

If specified, this variable will contain the return value from the message.

 

Remarks

 

Restrictions

 

See also

 

Examples