AnnFlags property (Annotation Control)

C++ Builder example

Delphi example

 

Builder Syntax

unsigned AnnFlags

Delphi Syntax

AnnFlags: L_UINT

Overview

Refer to Implementing Annotations.

Remarks

Gets or sets a value that indicates which objects to process. Most of the flags apply only to container objects. You can combine values when appropriate by using a bitwise OR (+). Possible values are:

Value

Meaning

0

Process only the specified object.

ANNFLAG_SELECTED

[$0001] Process only objects that have the selected property set to TRUE. For setting the selected property, use the AnnSetSelected Method.

ANNFLAG_NOTCONTAINER

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

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_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 ANNAUTOTEXT_MENU_XXX menu item has been selected.

See Also

Elements:

AnnTextExpandTokens property, AnnTicMarkLength property, AnnTextAlign property, AnnTextRotate property, AnnTextPointerFixed property, AnnSetNameOptions method, AnnSetEncryptOptions method, AnnEncryptApply method, AnnSetPointOptions method, AnnRestrictToContainer property, AnnFixed property, AnnIsFixedRect method, AnnPopFixedState method, AnnPushFixedState method, AnnRTFText property

Topics:

Annotations: Object Manipulation