Class TMessageSpool
Unit
Declaration
type TMessageSpool = class(TObject)
Description
Class of a multi-platform message queue.
:
Built to allow threads exchange messages independently of operating system.
The implementation of the message queue is similar of the message system of the Windows operating System, but include some improvements, like messages with priority (messages that must be processed before others).
Hierarchy
- TObject
- TMessageSpool
Overview
Methods
constructor Create; |
|
destructor Destroy; override; |
|
function PeekMessage(out Msg:TMSMsg; uFilterMinMsg, uFilterMaxMsg:Cardinal; Remove:Boolean):Boolean; |
|
procedure PostMessage(MsgID:Cardinal; wParam, lParam:Pointer; Priority:Boolean); |
Description
Methods
constructor Create; |
|
: Creates the message queue. |
destructor Destroy; override; |
|
: Destroys the message queue. |
function PeekMessage(out Msg:TMSMsg; uFilterMinMsg, uFilterMaxMsg:Cardinal; Remove:Boolean):Boolean; |
|
: Seeks a message, removing it or not of the queue. To select a message or not, their MsgId must be greater or equal than uFilterMinMsg and less or equal than uFilterMaxMsg. To select the first message of the queue, pass 0 (zero) to the parameters uFilterMinMsg and uFilterMaxMsg.
If uFilterMinMsg and uFilterMaxMsg are equals and greater than 0 (zero),
Parameters
ReturnsReturn See also |
Author
- Fabio Luis Girardi <[email protected]>
Generated by PasDoc 0.14.0.