TE Edit Control Win32 / Win64 Help
Product page

TerSeTOCxTextProp

Set a text property for an embedded ActiveX control.

BOOL TerSeTOCxTextProp(hWnd, ObjectId, PropName, PropString)
HWND hWnd;The handle of the window to be accessed
int ObjectId;An object id as returned by the TerCreateOcxObject2 function.
LPBYTE PropName;The property name to set.
LPBYTE PropString;The string value to assign.

Return Value: This function returns TRUE if successful.