共用方式為


ON_STDOLEVERB

Use this macro to override the default behavior of a standard verb.

ON_STDOLEVERB(iVerb, memberFxn )

Parameters

  • iVerb
    The standard verb index for the verb being overridden.

  • memberFxn
    The function called by the framework when the verb is invoked.

Remarks

The standard verb index is of the form OLEIVERB_, followed by an action. OLEIVERB_SHOW, OLEIVERB_HIDE, and OLEIVERB_UIACTIVATE are some examples of standard verbs.

See ON_OLEVERB for a description of the function prototype to be used as the memberFxn parameter.

Requirements

Header: afxole.h

See Also

Reference

ON_OLEVERB

Concepts

MFC Macros and Globals