IShellBrowser::RemoveMenusSB  173G.5S

[Now Supported on Windows NT]

Gives the container a chance to remove its menu elements from the in-place composite menu and free all associated resources.

HRESULT RemoveMenusSB(

    HMENU hmenuShared

// Handle to in-place composite menu

   );

 

 

Parameters

hmenuShared

Specifies a handle to the in-place composite menu that was constructed by calls to IShellBrowser::InsertMenusSBKOL_OE and the Win32 InsertMenu1O2J7N8 function.

 

Return Values

Returns NOERROR if successful or an OLE-defined error value otherwise.

Remarks

This method is similar to IOleInPlaceFrame::RemoveMenusBA2ZV9.

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 to remove its menus.

See Also

IShellBrowser