TE Edit Control Win32 / Win64 Help
Product page

TerSelectParaStyle

Apply a paragraph stylesheet item.

BOOL TerSelectParaStyle(hWnd, StyleId, repaint)
HWND hWnd;The handle of the window to be accessed.
int StyleId;Paragraph style id to apply
BOOL repaint;TRUE to refresh the screen after this operation.

Description: This function is used to assign the given paragraph style to the current paragraph. If more than one paragraph is highlighted, then all highlighted paragraphs are assigned the specified paragraph style id.

Return Value: This function returns TRUE when successful.

TerSelectParaText

Select entire text in the current paragraph.

BOOL TerSelectParaText(hWnd, repaint)
HWND hWnd;The handle of the window to be accessed.
BOOL repaint;TRUE to refresh the screen after this operation.

Return Value: This function returns TRUE when successful.