iFlags

Flag that indicates the objects to destroy. Use 0 if hObject is not a container.

If hObject is a container, use 0, to destroy only hObject, or combine some of the values given below, using a bitwise OR. For example, ANNFLAG_SELECTED + ANNFLAG_RECURSE processes only the selected objects.

Value

Meaning

ANNFLAG_SELECTED

[$0001] Destroy only the selected objects.

ANNFLAG_NOTCONTAINER

[$0002] Destroy all objects that are not containers.

ANNFLAG_NOTTHIS

[$0003] Destroy all objects except hObject.

ANNFLAG_RECURSE

[$0004] Destroy all objects contained in hObject and any contained in any sub-containers.

ANNFLAG_CHECKMENU

[$0020] Destroy objects only if the ANNAUTOTEXT_MENU_DELETE menu item has not been disabled.