Vcl.Menus.TMainMenu.GetOle2AcceleratorTable

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure GetOle2AcceleratorTable(var AccelTable: HAccel;  var AccelCount: Integer; const Groups: array of Integer);

C++

void __fastcall GetOle2AcceleratorTable(HACCEL &AccelTable, int &AccelCount, int const *Groups, const int Groups_High);

Properties

Type Visibility Source Unit Parent
procedure
function
public
Vcl.Menus.pas
Vcl.Menus.hpp
Vcl.Menus TMainMenu

Description

Returns the main menu's accelerator table.

Call GetOle2AcceleratorTable to obtain a handle to an accelerator table for all menu items with a GroupIndex value that appears in the Groups parameter. The AccelTable parameter is set to the accelerator table handle, and the AccelCount is set to the number of entries in the table. GetOle2AcceleratorTable is used by OLE containers when merging menus.

See Also