ANNHILIGHT

typedef struct tagANNHILIGHT
{
   L_UINT uStructSize;
   HANNOBJECT hObject;
   L_BOOL bRemoveHilight;.
   L_UINT uCount;
   LPPOINT ppts;
   HWND hWnd;
   L_INT nReserved;
} ANNHILIGHT, *pANNHILIGHT;

The ANNHILIGHT structure contains information about the annotation object about to be drawn with a highlight.

Member

Description

uStructSize

Size of this structure. Use sizeof(ANNHILIGHT).

hObject

Handle to the object being highlighted.

bRemoveHilight

TRUE if removing previous hilight; FALSE otherwise.

uCount

Number of points

ppts

Pointer to an array of POINT structures.

hWnd

Handle to the window to which the message should be sent.

nReserved

Reserved for future use.  Pass 0.

Comments

This structure is used with the WM_LTANNEVENT message LTANNEVENT_HIGHLIGHT in the lParam argument. This message is used when selecting the object (except for the rotated ellipse, protractor, ruler, and cross product objects), changing the object using automation, or changing the object by making calls to L_AnnDefine. The message is also useful for updating information about an annotation in real time.