TerSetPageBkColor
Set page background color.
BOOL TerSetPageBkColor(hWnd, BkColor)
HWND hWnd; | Handle of the window to be accessed |
COLORREF BkColor; | The background color for the page |
Description: This function is used set a background color for the page. If the page borders are active, then the color is applied to the area inside the page borders.
Use the TerGetParam function to retrieve the current page background color.
Example:
TerSetPaegBkColor(hWnd,0xFF); // set page color to red
TerRepaint(hWnd,FALSE); // repaint to show the color
Return Value: This function returns TRUE if successful.