API:Winapi.Messages.TWMSysCommand

From RAD Studio API Documentation
Jump to: navigation, search

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;
        };
    };
};

Properties

Type Visibility Source Unit Parent
record
struct
public
Winapi.Messages.pas
Winapi.Messages.hpp
Winapi.Messages Winapi.Messages

Description

Embarcadero Technologies does not currently have any additional information. Please help us document this topic by using the Discussion page!