<< Click to Display Table of Contents >> Navigation: ThinBASIC Modules > UI (User Interface) > DIALOGS > Dialog Low Level Event Handling > Events in Message Loops > ClearMessages |
Deprecated function |
This function has been deprecated in favor of Dialog Low Level Event Handling. |
Description
Clear the message queue for a given window handle.
Syntax
n = ClearMessages(hWnd)
Returns
Number. The number of messages removed from the queue
Parameters
Name |
Type |
Optional |
Meaning |
hWnd |
Number |
No |
Handle of the dialog you want to clear the message queue |
Remarks
Restrictions
See also
PeekMessage, SendMessage, GetMessage
Examples