SetTerBkColor
Set the background color for the text.
BOOL SetTerBkColor(hWnd,color,repaint)
HWND hWnd; | The handle of the window to be accessed |
COLORREF color; | new background color |
BOOL repaint; | TRUE to repaint the screen after this operation. |
Description: If a text block is selected before this operation, the new background color is applicable for every character in the block. If a block is not highlighted, this function selects the new color for the next character input.
Return Value: This function returns TRUE when successful.