iFlags

Flags that determine which objects to process. Most of the flags apply only to container objects. The following are valid values:

Value

Meaning

0

Process only the specified object.

ANN_FLAG_SELECTED

[0x0001] Process only objects that have the selected property set to TRUE. To get a list of selected objects, use the AnnGetSelectList method.

ANN_FLAG_NOTTHIS

[0x0004] Process only one level of objects within the specified container, not the container itself. If there are containers within the container, they are modified, but the objects within them are not.

ANN_FLAG_RECURSE

[0x0008] Process objects within a container, and within any subcontainers, down to any level.

ANN_FLAG_NOTCONTAINER

[0x0002] (Used with ANN_FLAG_RECURSE) Process objects within containers, not the containers themselves.

ANN_FLAG_NOINVALIDATE

[0x0010] Do not invalidate the affected rectangle in the window. Use this to avoid generating unwanted paint messages.

ANN_FLAG_CHECKMENU

[0x0020] Process objects only if the ANN_AUTOTEXT_MENU_UNGROUP menu item has been selected.

ANN_FLAG_USER

[0x0040] Ungroup only those objects with users listed in pszUserList.