Please enable JavaScript to view this site.

thinBasic Help Manual

* * HELP & MANUAL PREMIUM PACK 4 DEMO VERSION * *

This documentation was styled with a demo skin from the Premium Pack 4 add-on for Help & Manual. The contents of the skin are encrypted and not configurable. You can only publish HM projects with this skin. You cannot edit it or change it.

This version is copyright and may only be used for local testing purposes. It may not be distributed.

Please purchase the full version of the Premium Pack to get the configurable skins and remove this notice. The package will also include the Toolbox configuration utility for Premium Pack skins.

 

Description

 

Send a message to a dialog.

 

Syntax

 

DIALOG SEND hwnd, Msg, wParam, lParam [ TO Result]

 

Returns

 

None

 

Parameters

 

Name

Type

Optional

Meaning

hwnd

Number

No

Handle of the dialog you want to send a message to

Msg

Number

No

The message you want to send to the dialog

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

 

By default, thinBasic passes these parameters BYVAL.

If the target dialog is expected to return or alter the values passed in the wParam and lParam parameters, pass them using VARPTR or the return values will be discarded.

For example:

 

DIALOG SEND CBHNDL%WM_USER + 999VARPTR(Param1&), VARPTR(Param2&)

 

Restrictions

 

See also

 

Examples

 

 

 

 

Created with Help+Manual 8 and styled with Premium Pack Version 4 © by EC Software