Winapi.Messages.TWMParentNotify

提供: RAD Studio API Documentation
移動先: 案内検索

Delphi

  TWMParentNotify = record
    Msg: Cardinal;
    MsgFiller: TDWordFiller;
    case Word of
      WM_CREATE, WM_DESTROY: (
        Unused1: Word;
        ChildID: Word;
        EventChildIDFiller: TDWordFiller;
        ChildWnd: HWnd);
      WM_LBUTTONDOWN, WM_MBUTTONDOWN, WM_RBUTTONDOWN: (
        Unused2: Word;
        Value: Word;
        EventValueFiller: TDWordFiller;
        XPos: Smallint;
        YPos: Smallint;
        XYPosFiller: TDWordFiller);
      0: (
        Event: Word;
        Value1: Word;
        EventValue1Filler: TDWordFiller;
        Value2: LPARAM;
        Result: LRESULT);
  end;

C++

struct DECLSPEC_DRECORD TWMParentNotify
{
public:
    unsigned Msg;
public:
    union
    {
        struct
        {
            System::Word Event;
            System::Word Value1;
            NativeInt Value2;
            NativeInt Result;
        };
        struct
        {
            System::Word Unused2;
            System::Word Value;
            short XPos;
            short YPos;
        };
        struct
        {
            System::Word Unused1;
            System::Word ChildID;
            HWND ChildWnd;
        };
    };
};

プロパティ

種類 可視性 ソース ユニット
record
struct
public
Winapi.Messages.pas
Winapi.Messages.hpp
Winapi.Messages Winapi.Messages

説明

WM_PARENTNOTIFY のための Windows メッセージ レコード。

WM_PARENTNOTIFY メッセージについての詳細については、次の Windows Dev Center のドキュメントを参照してください。

http://msdn.microsoft.com/library/en-us/windows/desktop/hh454920.aspx