Message related functions

The message buffer can buffer up to 63 unprocessed messages. Each time a message is retrieved, one of the earliest messages will be retrieved from the message buffer. After the message buffer is full, no more messages are received.

The relevant functions and data types are as follows.

Function or data type Description
ExMessage Message Structure.
flushmessage Flush the message buffer.
getmessage Get a messages until a message is available for retrieval.
peekmessage Get a message if any exist, otherwise return false.
setcapture Enable the ability to capture mouse messages outside of the graphics window.
releasecapture Disable the ability to capture mouse messages outside of the graphics window.
(贡献者:2 人  编辑