TE Edit Control Win32 / Win64 Help
Product page

TerGetRefParam

Get the value of a 'pass-by-reference' parameter to function call within a script.

int TerGetRefParam(hWnd, ParamNum)
int TerGetRefParamStr(hWnd, ParamNum)

ActiveX method definition:

string TerGetRefParamStr(ParamNum)
HWND hWnd;The handle of the window to be accessed
int ParamNum;A zero-based parameter number to the previous call for a 'pass-by-reference' function. The numeric and string parameters are numbered separately. For example, the ParamNum 0 would indicate the first numeric and string parameter.

Return Value: This function returns the numeric value of the specified parameter for the previous function call.