Share via


COleControl::OnEnumVerbs

Called by the framework when the container calls the IOleObject::EnumVerbs member function.

virtual BOOL OnEnumVerbs( 
   LPENUMOLEVERB* ppenumOleVerb  
);

Parameters

  • ppenumOleVerb
    A pointer to the IEnumOLEVERB object that enumerates the control's verbs.

Return Value

Nonzero if verbs are available; otherwise 0.

Remarks

The default implementation enumerates the ON_OLEVERB entries in the message map.

Override this function to change the default way of enumerating verbs.

Requirements

Header: afxctl.h

See Also

Reference

COleControl Class

Hierarchy Chart

ON_OLEVERB

ON_STDOLEVERB