TE Edit Control Win32 / Win64 Help
Product page

TerSetParaAuxId

Set the Auxiliary id for the paragraph.

BOOL TerSetParaAuxId(hWnd, FirstLine, LastLine, AuxId)
HWND hWnd;The handle of the window to be accessed
long FirstLine;The first line of the paragraph. Set this parameter to -1 to select the current paragraph or all paragraphs in the range of selected text (if any text selected)
long LastLine;The last line for the paragraph. This argument is not used when 'FirstLine' is set to -1.
BOOL AuxId;The new auxiliary id for the paragraph.

Return Value: This function returns TRUE when successful.