Поделиться через


COleControl::OnEnumVerbs

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

virtual BOOL OnEnumVerbs(
   LPENUMOLEVERB* ppenumOleVerb 
);

Параметры

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

Возвращаемое значение

Nonzero if verbs are available; otherwise 0.

Заметки

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

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

Требования

Header: afxctl.h

См. также

Основные понятия

COleControl Class

COleControl Members

Hierarchy Chart

ON_OLEVERB

ON_STDOLEVERB