PeekMessage

<< Click to Display Table of Contents >>

Navigation:  ThinBASIC Modules > UI (User Interface) > DIALOGS > Dialog Low Level Event Handling > Events in Message Loops >

PeekMessage

 

Deprecated function

This function has been deprecated in favor of Dialog Low Level Event Handling.
Do not use this function anymore. This function could be removed in future thinBasic versions.

 

Description

 

Returns the next waiting message present in message queue for the hWnd dialog.

 

Syntax

 

Msg = PeekMessage(hWnd, wParam, lParam)

 

Returns

 

Number.

 

Parameters

 

Name

Type

Optional

Meaning

hWnd

Number

No

Handle of the dialog you want to get next message

wParam

Variable

No

A numeric existing variable name. This variable will be filled with additional message-specific information

lParam

Variable

No

A numeric existing variable name. This variable will be filled with additional message-specific information

 

Remarks

 

Restrictions

 

See also

 

GetMessage, SendMessage, ClearMessages

 

Examples