TerCellBorder
Set the borders for the table cells.
BOOL TerCellBorder(hWnd, select, TopWidth, BotWidth, LeftWidth, RightWidth, repaint)
BOOL TerCellBorder2(hWnd, select, TopWidth, BotWidth, LeftWidth, RightWidth, outline, repaint)
HWND hWnd; | Handle of the window to be accessed |
int select; | Cell selection for this operation: |
SEL_ALL: | Select the entire table |
SEL_CELLS: | Select the current cell or all highlighted cells |
SEL_COLS: | Select the current column or all highlighted columns |
SEL_ROWS: | Select the current row or all highlighted rows |
Set the 'select' parameter to 0 to invoke the user selection dialog box.
int TopWidth; | Width of the top border in twips. |
int BotWidth; | Width of the bottom border in twips |
int LeftBorder; | Width of the left border in twips |
int RightBorder; | Width of the right border in twips |
BOOL outline; | Set to True to draw the outline around the selected cells. |
BOOL repaint; | TRUE to repaint the screen after this operation |
Description: The cursor must be positioned in a table cell before calling this function. The maximum border width should be less than the cell text margin. Any width parameter can be set to -1 to leave the current value unchanged.
Return Value: This function returns a TRUE value if successful.