# OLEVERBATTRIB

The OLEVERBATTRIB enumeration constants are used in the OLEVERB structure to describe the attributes of a specified verb for an object. Values are used in the enumerator (which supports the IEnumOLEVERB interface) that is created by a call to IOleObject::EnumVerbs.

    typedef enum tagOLEVERBATTRIB
    {
        OLEVERBATTRIB_NEVERDIRTIES       = 1,
        OLEVERBATTRIB_ONCONTAINERMENU    = 2
    } OLEVERBATTRIB;

Elements

OLEVERBATTRIB_NEVERDIRTIES
  Executing this verb will not cause the object to become dirty and is therefore in need of saving to persistent storage.
OLEVERBATTRIB_ONCONTAINERMENU
  Indicates a verb that should appear in the container’s menu of verbs for this object. OLEIVERB_HIDE, OLEIVERB_SHOW, and OLEIVERB_OPEN never have this value set.

See Also

IOleObject::EnumVerbs, IEnumOLEVERB, OLEVERB