|
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] Specifies a handle to the in-place composite menu that was constructed by
calls to IOleInPlaceFrame::InsertMenus and the Windows InsertMenu function.
Return Values
S_OK
The method completed successfully.
E_INVALIDARG
One or more arguments are invalid.
E_UNEXPECTED
An unexpected error occurred.
Comments
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
IOleInPlaceFrame::SetMenu
InsertMenu in Win32
Related LinksSoftware 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 Programmer's Reference (win32.hlp) Win32 Multimedia Programmer's Reference (mmedia.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 (sock2.hlp) Unix Manual Pages
|