VECTORTOOLTIPDESC
typedef struct _VECTORTOOLTIPDESC
{
POINT Point;
LOGPEN Pen;
LOGBRUSH Brush;
LOGFONT Font;
} VECTORTOOLTIPDESC, *pVECTORTOOLTIPDESC;
The VECTORTOOLTIPDESC structure is used to control how the tool tip will be displayed for an object, which has a tool tip.
Member |
Description |
Point |
This is the point where the tool tip will be placed. |
Pen |
Windows LOGPEN structure that defines the pen properties for the tooltip. |
Brush |
Windows LOGBRUSH structure that defines the brush properties for the tool tip. |
Font |
Windows LOGFONT structure that defines the font properties that will be used to display the tool tip. |
Comments
pVECTORTOOLTIPDESC is a pointer to a VECTORTOOLTIPDESC structure. Where the function parameter type is pVECTORTOOLTIPDESC, you can declare a VECTORTOOLTIPDESC variable, update the structure's fields, and pass the variable's address in the parameter. Declaring a pVECTORTOOLTIPDESC variable is necessary only if your program requires a pointer.
The VECTORTOOLTIPDESC structure will be used by the vector toolkit to determine how and where to show the tool tip for a specific object. The Pen, Brush and Font members should be set according to the LOGPEN, LOGBRUSH and LOGFONT mentioned in the Microsoft Windows GDI documentation. This structure used with the LVectorObject::ShowTooltip function.