Vcl.Menus.TMenuItem.Handle

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Handle: HMENU read GetHandle;

C++

__property HMENU Handle = {read=GetHandle, nodefault};

Properties

Type Visibility Source Unit Parent
property public
Vcl.Menus.pas
Vcl.Menus.hpp
Vcl.Menus TMenuItem

Description

Indicates the Windows menu handle of the drop-down menu associated with the menu item.

Use Handle when calling a Windows API function that requires a menu handle. Handle is only valid if the Count property is greater than 0.

See Also