|
Navigation: thinBasic language > Modules > UI (User Interface) > Events > ClearMessages |
![]() ![]()
|
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
| © 2004-2008 thinBasic. All rights reserved. | Version 1.6.0.10 | Web Site: http://www.thinbasic.com |