ANNTOOL

typedef struct _ANNTOOL
{
   L_UINT uStructSize;
   L_UINT uTool;
   L_INT nMenuTextID;
   L_TCHAR *pMenuText;
} ANNTOOL, *pANNTOOL;

The ANNTOOL structure contains information about a tool associated with a button in the annotation toolbar.

 

Member

Description

uStructSize

Size of this structure in bytes, for versioning. Use the sizeof() macro to calculate this value.

uTool

Constant that specifies an annotation tool. For a list of available tools, refer to Annotation Toolbar Buttons.

nMenuTextID

Index into the annotation menu dialog strings. If this value is -1, the menu text for the associated tool is in pMenuText. If this value is >= 0, the menu text for the associated tool comes the corresponding set of dialog strings.

pMenuText

Character string that contains the menu text for the associated tool. This is only valid if nMenuTextID is -1.

See Also

Topics:

ANNBUTTON