RAD Studio VCL Reference
|
Populates an OLE menu with items from the main menu.
procedure PopulateOle2Menu(SharedMenu: HMenu; const Groups: array of Integer; var Widths: array of Longint);
__fastcall PopulateOle2Menu(HMenu SharedMenu, const array of Integer Groups, array of Longint Widths);
Call PopulateOle2Menu to merge the menu items with GroupIndex values specified by the Groups parameter into the menu that uses the SharedMenu handle. PopulateOle2Menu appends all menu items in the specified groups to the menu, and increments the corresponding entries in the Widths array for every menu item appended. PopulateOle2Menu 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!
|