Index   Commented   Search   About

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

Related Links

Software for Delphi and C++ Builder developers
Software for Visual Studio .NET developers
Software for Visual Basic 6 developers
Delphi Tips&Tricks
MegaDetailed.NET

More Online Helps

Win32 Multimedia Programmer's Reference (mmedia.hlp)
OLE Programmer's Reference (ole.hlp)
Microsoft Windows Pen API Programmer's Reference (penapi.hlp)
Microsoft Windows Sockets 2 Reference (sock2.hlp)
Microsoft Windows Telephony API (TAPI) Programmer's Reference (tapi.hlp)
Unix Manual Pages

Free Tech Secrets ;) Copyright © 2008 Free Tect Secrets ;) greatis just4fun network just4fun