Udostępnij za pośrednictwem


COleControl::OnGetInPlaceMenu

Called by the framework when the control is UI activated to obtain the menu to be merged into the container's existing menu.

virtual HMENU OnGetInPlaceMenu( );

Return Value

The handle of the control's menu, or NULL if the control has none. The default implementation returns NULL.

Remarks

For more information on merging OLE resources, see the article Menus and Resources (OLE).

Requirements

Header: afxctl.h

See Also

Reference

COleControl Class

Hierarchy Chart

Other Resources

COleControl Members