TE Edit Control Win32 / Win64 Help
Product page

TerGetRowInfo

Retrieve information about a table row id.

BOOL TerGetRowInfo(hWnd, RowId, height, MinHeight, FixWidth, PrevRow, NextRow, indent, flags, border, CurWidth)
HWND hWnd;The handle of the window to be accessed
int RowId;The row id to extract information. Set to a negative value to specify a cell id in the row.
LPINT height;The location to receive the current row height in printer units.
LPINT MinHeight;The location to receive the minimum height specification for the row. This value is a negative number to indicate exact row height in twips, or a positive number to indicate the minimum row height in twips, or zero to indicate auto row height.
LPINT FixWidth;The location to receive the width specification for the table. This value is negative number to indicate the row with as percentage of the current screen width. A positive value indicates the row width in twips.
LPINT PrevRow;The location to receive the previous row id.
LPINT NextRow;The location to receive the next row id.
LPINT indent;The location to receive the row indent in twips.
LPINT flags;The location to receives the row flags. The row flags (ROWFLAG_?) constants are defined in the ter.h file.
ROWFLAG_HDRHeader row
ROWFLAG_RTLRight-to-left cell placement row
LPINT border;The location to receive the table border specification. This parameter is reserved for future.
LPINT CurWidth;This location receives the current table width in twips units.

Return Value: The function returns TRUE if successful.