Winapi.Messages.TWMParentNotify
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;
};
};
};
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_PARENTNOTIFY.
Pour de plus amples informations sur le message WM_PARENTNOTIFY, voir la documentation du Centre de développement Windows.
http://msdn.microsoft.com/library/en-us/windows/desktop/hh454920.aspx