MTblSetTipSize

Functions ›› MTblSet... ›› MTblSetTip... ››
Parent Previous Next

bOk = MTblSetTipSize( hWndParam, nParam, nType, nWid, nHt )

Sets a tooltip's size.

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.

nWid
Number: The tooltip's fix width in pixels. Specify NUMBER_Null to leave the width undefined.

nHt
Number: The tooltip's fix height in pixels. Specify NUMBER_Null to leave the height undefined.

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

Example
In this example we set a fix width of 200 pixels and leave the height undefined for a cell's tooltip:

Call MTblSetTipSize( hWndCol, nRow, MTBL_TIP_CELL, 200, NUMBER_Null )

Remarks
If the width and/or the height is undefined, M!Table uses the best width and/or height according to the tip text.
If the width is defined, the tip text is drawn with wordbreaks.

See also
Tooltips

Created with the Personal Edition of HelpNDoc: Easily create Help documents