Winapi.Messages.TWMSysCommand
Delphi
TWMSysCommand = record
Msg: Cardinal;
MsgFiller: TDWordFiller;
CmdType: WPARAM;
case WPARAM of
SC_HOTKEY: (
ActivateWnd: HWND);
SC_KEYMENU: (
Key: Word);
SC_CLOSE, SC_HSCROLL, SC_MAXIMIZE, SC_MINIMIZE, SC_MOUSEMENU, SC_MOVE,
SC_NEXTWINDOW, SC_PREVWINDOW, SC_RESTORE, SC_SCREENSAVE, SC_SIZE,
SC_TASKLIST, SC_VSCROLL: (
XPos: Smallint;
YPos: Smallint;
XYPosFiller: TDWordFiller;
Result: LRESULT);
end;
C++
struct DECLSPEC_DRECORD TWMSysCommand
{
public:
unsigned Msg;
NativeUInt CmdType;
public:
union
{
struct
{
short XPos;
short YPos;
NativeInt Result;
};
struct
{
System::Word Key;
};
struct
{
HWND ActivateWnd;
};
};
};
Propriétés
Type | Visibilité | Source | Unité | Parent |
---|---|---|---|---|
record struct |
public | Winapi.Messages.pas Winapi.Messages.hpp |
Winapi.Messages | Winapi.Messages |
Description
Enregistrement de message Windows pour WM_SYSCOMMAND.
Pour de plus amples informations sur le message WM_SYSCOMMAND, voir la documentation du Centre de développement Windows.
http://msdn.microsoft.com/library/en-us/windows/desktop/ms646360.aspx