OLE SDK - Frame Interface (3): ioleinplaceframe :: Removemenus

zhaozj2021-02-08  255

IoleinplaceFrame :: removemenus

A given container a chance to remove its menu tag from the in-place composite menu.

HRESULT REMOVEMENUS (HMENU HMENUSHARED / / Handle in Bit Composite Menu);

parameter

Hmenushared

Handle of the bit composite menu, it is called

IoleinplaceFrame :: Insertmenus and Windows

InsertMenu function is built.

return value

This method supports standard return value E_INVALIDARG and E_UNEXPECTEDS, also supports the following:

S_ok

This method successfully completed.

Comment

Before the shared user interface is invalid, the object usually should remove the chance of removing its menu marks from the composite menu.

Caller

When you are transferred to its menu, when you are released by the UI, the object application is called.

Quick information

Windows NT: 3.1 or higher. Windows: Windows 95 or higher. Windows CE: does not support. HEADER: Oleidl.h.

See

IoleinplaceFrame :: setmenu

Insertmenu in Win32

转载请注明原文地址:https://www.9cbs.com/read-3420.html

New Post(0)