TerGetSectColWidth
Retrieve the column width or inter-column spacing for a variable width column section.
int TerGetSectColWidth(hWnd, sect, col, GetColWidth)
HWND hWnd; | The handle of the window to be accessed |
int sect; | Section id to access. You can also set this parameter to -1 to specify the current column. |
int col; | The column number (0 to total columns -1) to retrieve the the width or column space values. |
BOOL GetColWidth; | Set to TRUE to return the column width for the specified column. Set to FALSE to return the space after the specified column. |
Return Value: This function returns the column width or the space after the column for the specified column. The value is returned in twips unit. The function return -1 if an error occurs.