Important: The information in this document is obsolete and should not be used for new development.
ICyberServiceMenu
Initializes this Cyberdog service menu object.
void ICyberServiceMenu (in ODMenuBar menuBar, in ODPart part, in long baseCommandID);
menuBar
- The menu bar to be modified.
part
- The display part that owns the menu bar.
baseCommandID
- The base command ID for this service menu object.
DISCUSSION
You call this method to initialize a newly createdCyberServiceMenu
object. This method installs all of the Cyberdog service-related menu items and registers their command numbers with theODMenuBar
object.As a display part developer, you specify the base menu command ID to be used for the service menu object; however, the base command ID you choose should be in a range allowed by OpenDoc. For more information on registering menu command IDs with OpenDoc, see the chapter on windows and menus in OpenDoc Programmer's Guide.
Any display part that displays service-related menus should call this method from within its
InitPart
andInitPartFromStorage
methods.Do not subclass this class.