iFlags

Flags that determine which objects to group. Most of the flags apply only to container objects. Values can be combined when appropriate by using a bitwise OR ( + ). The following are valid values:

Value

Meaning

0

Process only the specified object.

ANNFLAG_SELECTED

[$0001] Process only objects that have the selected property set to True. To get a list of selected objects, use the AnnGetSelectList method.

ANNFLAG_NOTTHIS

[$0004] 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.

ANNFLAG_RECURSE

[$0008] Process objects within a container, and within any subcontainers, down to any level.

ANNFLAG_NOTCONTAINER

[$0002] (Used with ANNFLAG_RECURSE) Process objects within containers, not the containers themselves.

ANNFLAG_NOINVALIDATE

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

ANNFLAG_CHECKMENU

[$0020] Process objects only if the ANNAUTOTEXT_MENU_GROUP menu item has been selected.

ANNFLAG_USER

[$0040] Group only those objects with users listed in pUserList.