Winapi.Messages.TMessage
Delphi
TMessage = record
C++
struct DECLSPEC_DRECORD TMessage
{
public:
unsigned Msg;
public:
union
{
struct
{
System::Word WParamLo;
System::Word WParamHi;
System::Word LParamLo;
System::Word LParamHi;
System::Word ResultLo;
System::Word ResultHi;
};
struct
{
unsigned WParam;
int LParam;
int Result;
};
};
};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
record struct |
public | Winapi.Messages.pas Winapi.Messages.hpp |
Winapi.Messages | Winapi.Messages |
Description
TMessage represents a Windows message.
The TMessage type represents a Windows message in WndProc and other methods.
The TMessage contains the following fields:
Field | Meaning |
---|---|
Msg |
Represents the Windows Message code. |
|
Represents the |
|
Represents the |
|
Holds the return value. To access the low and high words of this field, use the |
|
Auxiliary fields used only under 64-bit platforms. These fields are used for padding not occupied high-order bytes in |
See Also
- Winapi.Messages.TDWordFiller
- Winapi.Messages.TWMKey
- Winapi.Messages.TWMMouse
- Winapi.Messages.TWMPaint
- Winapi.Messages.TWMMenuChar
- Winapi.Messages.TWMNotify
- Winapi.Messages.TWMLButtonDown