TerSetStyleParam
Set the style parameters.
BOOL TerSetStyleParam(hWnd, id, type, IntParam, TextParam, repaint)
BOOL TerSetStyleParamU(hWnd, id, type, IntParam, TextParam, repaint)
HWND hWnd; | The handle of the window to be accessed |
int id; | Style item id to set parameters. |
int type; | The parameter to set |
SSINFO_NAME | New style name. Specify using the TextParam argument. |
SSINFO_NEXT | The style id to be applied to the new line when the user hits Enter at the end of a line. Specify using the IntParam argument. |
int IntParam; | The value for the numeric type parameter. This value is ignored for the string type parameters. |
LPBYTE TextParam; | The value for the string type parameter. This value is ignored for the numeric type parameters. The TerSetStyleParamU method uses a Unicode TextParam string. |
BOOL repaint; | TRUE to repaint the screen after this operation. |
Return Value: The function returns TRUE when successful.