For MDI applications, such as the text editor sample application, and for OLE client applications, your application's main menu needs to be able to receive menu items either from another form or from the OLE server object. This is often called merging menus. Note that OLE technology is limited to Windows applications only and is not available for use in cross-platform programming.
You prepare menus for merging by specifying values for two properties:
- Menu, a property of the form
- GroupIndex, a property of menu items in the menu