LEADTOOLS Vector C++ Class Library Help > LEADTOOLS Vector Features > Vector Objects > Working with the Tooltips |
A tooltip may be used to provide a small amount of information about a vector object. This is generally displayed when the cursor moves over the object. To use a tool tip, first the function LVectorObject::SetTooltip should be called to set the tool tip string. The tool tip can then be displayed by calling LVectorObject::ShowTooltip.
To hide a displayed tool tip, such as when the cursor moves off the vector object, the function LVectorObject::HideTooltip should be called.
An object's tooltip can also be changed using the LVectorObject::SetTooltip function. To determine the current tool tip, call the LVectorObject::GetTooltip function. Make the necessary changes to the string and then call LVectorObject::SetTooltip.