Vcl.Menus.TMenu.GetHandle

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function GetHandle: HMENU; virtual;

C++

virtual HMENU __fastcall GetHandle();

Properties

Type Visibility Source Unit Parent
function protected
Vcl.Menus.pas
Vcl.Menus.hpp
Vcl.Menus TMenu

Description

Returns the value of the Handle property.

GetHandle is the protected implementation of the Handle property. Override this method to change the implementation of the handle property. For example, TMainMenu overrides GetHandle to adjust for menus added by embedded OLE objects.

See Also