IOleInPlaceFrame::RemoveMenus
Gives the
container a chance to remove its menu elements from the in-place composite
menu.
HRESULT RemoveMenus(
HMENU hmenuShared |
//Handle to in-place composite menu |
); |
|
Parameter
hmenuShared
[in] Handle
to the in-place composite menu that was constructed by calls to
IOleInPlaceFrame::InsertMenus and the Windows InsertMenu function.
Return Values
This method
supports the standard return values E_INVALIDARG and E_UNEXPECTEDs, as well as
the following:
S_OK
The method
completed successfully.
Remarks
The object
should always give the container a chance to remove its menu elements from the
composite menu before deactivating the shared user interface.
Notes to Callers
Called by the
object application while it is being UI-deactivated in order to remove its
menus.
See Also
InsertMenu in Win32