TE Edit Control Win32 / Win64 Help
Product page

TerSetParaBkColor

Set the background color for the paragraph.

BOOL TerSetParaBkColor(hWnd, dialog, color, repaint)
HWND hWnd;The handle of the window to be accessed
BOOL dialog;TRUE to show the dialog box for the user to select a background color. FALSE to use the background color specified by the 'color' parameter.
COLORREF color;New background color for the paragraph.
BOOL repaint;TRUE to repaint the screen after this operation.

Return Value: This function returns TRUE when successful