Winapi.Messages.TWMContextMenu
Delphi
TWMContextMenu = record
Msg: Cardinal;
MsgFiller: TDWordFiller;
hWnd: HWND;
case Integer of
0: (
XPos: Smallint;
YPos: Smallint;
XYPosFiller: TDWordFiller);
1: (
Pos: TSmallPoint;
PosFiller: TDWordFiller;
Result: LRESULT);
end;
C++
struct DECLSPEC_DRECORD TWMContextMenu
{
public:
unsigned Msg;
HWND hWnd;
public:
union
{
struct
{
System::Types::TSmallPoint Pos;
NativeInt Result;
};
struct
{
short XPos;
short YPos;
};
};
};
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_CONTEXTMENU.
For more information about WM_CONTEXTMENU message, see the documentation in Windows Dev Center.
http://msdn.microsoft.com/library/en-us/windows/desktop/ms647592.aspx