bOk = MTblSetTipText( hWndParam, nParam, nType, sText )

Sets a tooltip's text.

Parameters
hWndParam
Window Handle: Depends on nType. See Tooltip types and function parameters for further details.

nParam
Number: Depends on nType. See Tooltip types and function parameters for further details.

nType
Number:The tooltip type. See Tooltip types and function parameters for further details.

sText
String: The text to display. Specify STRING_Null to show no tooltip.

Return
Boolean: TRUE if successful or FALSE if an error occurs

Example
In this example we set a tip for the entire cell and the image. That means, if the cursor is over the image, the image tip is shown, otherwise the cell tip is shown.

Call MTblSetTipText( hWndCol, nRow, MTBL_TIP_CELL, "I'm the cell tip" )
Call MTblSetTipText( hWndCol, nRow, MTBL_TIP_CELL_IMAGE, "I'm the cell image tip" )

Remarks
You can't set a default tip text.

See also
Tooltips

Created with the Personal Edition of HelpNDoc: Easily create EBooks