RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TMainMenu.GetOle2AcceleratorTable Method

Returns the main menu's accelerator table.

Pascal
procedure GetOle2AcceleratorTable(var AccelTable: HAccel; var AccelCount: Integer; const Groups: array of Integer);
C++
__fastcall GetOle2AcceleratorTable(HAccel AccelTable, int AccelCount, const array of Integer Groups);

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. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!