Class Definition File | Popup.idl |
Class C++ Binding | Popup.xh |
Class Hierarchy |
SOMObject ODObject ODRefCntObject ODBaseMenuBar ODMenuBar ODPopup |
Description | This class enables parts to have a base pop-up menu. Parts obtain an instance to this class using the window state's CopyBasePopup method. The ODPopup instance received back contains a base pop-up menu with the items View in Window as, Properties, Show as, and Help. Parts can then add or modify this menu. |
Methods | The methods defined by the ODPopup class include: |
Overridden Methods | The ODMenuBar class methods are overridden by the ODPopup class. For additional information on the ODMenuBar class methods, see ODMenuBar. |
This method adds one of the predefined OpenDoc menu items to the pop-up menu.
Signature
ODBoolean AddDefaultMenuItemBefore (ODMenuItemID menuItemID, ODMenuItemID beforeID) |
Parameters
Returns
kODTrue | Successful completion. |
kODFalse | Error occurred. |
This method adds one of the predefined OpenDoc menu items to the end of the pop-up menu.
Signature
ODBoolean AddDefaultMenuItemLast (ODMenuItemID menuItemID) |
Parameters
Returns
kODTrue | Successful completion. |
kODFalse | Error occurred. |
This method creates a new platform menu.
Signature
ODPlatformMenu CreateX11PlatformMenu (ODMenuID menuID) |
Parameters
Returns
Remarks
This method creates a new platform menu for use on AIX with ODPopup methods that require a platform-menu parameter.
This method disposes of a platform menu.
Signature
void DestroyX11PlatformMenu (ODPlatformMenu menu) |
Parameters
Returns
None.
Remarks
This method disposes of a platform menu created by the CreateX11PlatformMenu method that is no longer needed.