MTblSetRowHeight

Functions ›› MTblSet... ›› MTblSetRow... ››
Parent Previous Next

bOk = MTblSetRowHeight( hWndTbl, nRow, nHeight, nFlags )

Sets a row's height.

Parameters
hWndTbl
Window Handle: Handle of the table

nRow
Number: Row number

nHeight
Number: The height in pixels, 0 = default height

nFlags
Number: Any combination of the following flags:

MTSRH_REDRAW

Redraws the table

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

Example
In this example a row's height is set to 50 pixels and the row is redrawn:

Call MTblSetRowHeight( hWndTbl, nRow, 50, MTSRH_REDRAW )

Remarks
The function returns FALSE if the table flag MTBL_FLAG_VARIABLE_ROW_HEIGHT isn't set.

See also
Variable row height
MTBL_FLAG_VARIABLE_ROW_HEIGHT

Created with the Personal Edition of HelpNDoc: Easy Qt Help documentation editor