Navigation:  thinBasic Modules > UI (User Interface) > Events > Events in message loops >

SendMessage

Previous pageReturn to chapter overviewNext page

 

Description

 

Send a message to hwnd dialog.

 

Syntax

 

SendMessage(hwnd, Msg, wParam, lParam)

 

Returns

 

Number.

 

Parameters

 

Name

Type

Optional

Meaning

hwnd

Number

No

Handle of the dialog you want to get next message

Msg

Number

No

The message code

wParam

Number

No

Additional message-specific information

lParam

Number

No

Additional message-specific information

 

Remarks

 

Restrictions

 

See also

 

GetMessage, PeekMessage, ClearMessages

 

Examples

 

 

 

© 2004-2008 thinBasic. All rights reserved. Version 1.7.0.0 Web Site: http://www.thinbasic.com