AcquireCurrentMenuBar
Document Shell
Mac OSThe
AcquireCurrentMenuBarmethod returns a reference to the current menu bar object.
ODMenuBar AcquireCurrentMenuBar ();
- return value
- A reference to the current menu bar object.
DISCUSSION
The document shell calls this method. Your part typically calls this window-state object'sCopyBaseMenuBarmethod instead of this method.This method increments the reference count of the returned menu bar. When the caller has finished using that menu bar, it should call the menu bar's
Releasemethod.SEE ALSO
TheODWindowState::CopyBaseMenuBarmethod (page 855).