Winapi.Messages.TWMMenuSelect

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

  TWMMenuSelect = record
    Msg: Cardinal;
    MsgFiller: TDWordFiller;
    IDItem: Word;
    MenuFlag: Word; { MF_BITMAP, MF_CHECKED, MF_DISABLED, MF_GRAYED,
                      MF_MOUSESELECT, MF_OWNERDRAW, MF_POPUP, MF_SEPARATOR,
                      MF_SYSMENU }
    IDItemMenuFlagFiller: TDWordFiller;
    Menu: HMENU;
    Result: LRESULT;
  end;

C++

struct DECLSPEC_DRECORD TWMMenuSelect
{
public:
    unsigned Msg;
    System::Word IDItem;
    System::Word MenuFlag;
    HMENU Menu;
    NativeInt Result;
};

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

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

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