iFlags

Flag that indicates the objects to process. Use VARIANT_FALSE if hObject is not a container.

If hObject is a container, you can use VARIANT_FALSE (process only hObject), or you can combine some of the values given below, using a bitwise OR. For example, ANN_FLAG_SELECTED | ANN_FLAG_RECURSE processes only the selected objects.

Value

Meaning

ANN_FLAG_SELECTED

[0x0001] Enumerate only the selected objects.

ANN_FLAG_NOTCONTAINER

[0x0002] Enumerate all objects that are not containers.

ANN_FLAG_NOTTHIS

[0x0003] Enumerate all objects except hObject.

ANN_FLAG_RECURSE

[0x0004] Enumerate all objects contained in hObject and any contained in any sub-containers.

ANN_FLAG_CHECKMENU

[0x0020] Process objects only if the ANN_AUTOTEXT_MENU_DELETE menu item has not been disabled.