Winapi.Messages.TWMParentNotify

From RAD Studio API Documentation
Jump to: navigation, search

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

Properties

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

Description

Windows message record for WM_PARENTNOTIFY.

For more information about WM_PARENTNOTIFY message, see the documentation in Windows Dev Center.

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