TE Edit Control Win32 / Win64 Help
Product page

TerSetParaShading

Set the shading value for the current paragraph.

BOOL TerSetParaShading(hWnd, shading, refresh)
HWND hWnd;The handle of the window to be accessed
int shading;shading amount (0 to 10000)
BOOL refresh;TRUE to refresh the window after this operation.

Description: This function is used to specify the shading amount for the current paragraph or the range of selected paragraphs. The shading value of 10000 indicates the darkest shading, whereas the shading value 0 indicates no shading.

Return Value: This function returns TRUE if successful.