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
);
This method supports the standard return values E_INVALIDARG and E_UNEXPECTEDs, as well as the following:
The object should always give the container a chance to remove its menu elements from the composite menu before deactivating the shared user interface.
Called by the object application while it is being UI-deactivated in order to remove its menus.
Windows NT: Use version 3.1 or later.
Windows: Use Windows 95 or later.
Windows CE: Unsupported.
Header: Declared in oleidl.h.
InsertMenu in Win32