flushmessage
This function is used to empty the message buffer.
void flushmessage(BYTE filter = -1);
Parameters
filter
Specify the category of messages to be cleared, the default is -1 to clear all categories. The following values or combinations of values can be used to clear messages of a specified category.
Category identifier | Description |
---|---|
EX_MOUSE | Mouse message |
EX_KEY | Key message |
EX_CHAR | Character message |
EX_WINDOW | Window message |
Return Value
None
Examples
None