TE Edit Control Win32 / Win64 Help
Product page

TerGetStyleParam

Get the style parameters.

int TerGetStyleParam(hWnd, id, type)
HWND hWnd;The handle of the window to be accessed
int id;Style item id to retrieve parameters.
int type;The parameter to retrieve:
SSINFO_CHAR_SPACE:Return the additional character spacing value in twips. The negative value indicates the compression of character spacing in twips unit.
SSINFO_CHAR_OFFSETReturn the character offset (twips) from the baseline.
SSINFO_NEXTReturns next style id to be applied when the user hits Enter at the end of a line.

Return Value: The function returns the value for the requested parameter. It returns -1 to indicate an error condition.