iFlags

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

If hObject is a container, you can use 0 (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

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_USER

[0x0040] Process only those objects that have a user included in pUserList. If pszUserList is NULL, process only those objects that do not have an associated user.