Winapi.Messages.TWMContextMenu

De RAD Studio API Documentation
Aller à : navigation, rechercher

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

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_CONTEXTMENU.

Pour de plus amples informations sur le message WM_CONTEXTMENU, voir la documentation du Centre de développement Windows.

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