Quick Info

Windows NT
Yes
Win95
Yes
Win32s
No
Import Library
-
Header File
shlobj.h
Unicode
No
Platform Notes
None

IShellBrowser::RemoveMenusSB

[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::InsertMenusSB and the Win32 InsertMenu function.

Return Values

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

Remarks

This method is similar to IOleInPlaceFrame::RemoveMenus.

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

Software for developers
Delphi Components
.Net Components
Software for Android Developers
More information resources
MegaDetailed.Net
Unix Manual Pages
Delphi Examples