TE Edit Control Win32 / Win64 Help
Product page

TerSetWaveUnderline

Draw red wavy underline.

BOOL TerSetWaveUnderline(hWnd, LineNo, StartCol, EndCol, set, repaint)
BOOL TerSetWaveUnderline2(hWnd, color, LineNo, StartCol, EndCol, set, repaint)
HWND hWnd;Window handle to access
COLORREF color;The color for the wavy underline. The default color is red.
long LineNo;The text line number
int StartCol;The starting column position for the text
int EndCol;The ending column position for the text
BOOL set;Set to TRUE to draw the underline. Set to FALSE to erase the underline.
BOOL repaint;Set to TRUE to repaint the screen after this operation

Return Value: This function returns TRUE when successful.