TerLocateFieldChar
Locate the character with the given field id.
BOOL TerLocateFieldChar(hWnd,FieldId,FieldCode, present, StartLine, StartCol, forward)
HWND hWnd; | Handle of the window to be accessed |
UINT FieldId; | Select one of the following field ids to locate: |
FIELD_NAME: | Mail-merge field name |
FIELD_DATA: | Mail-merge field data |
FIELD_HLINK: | Hyperlink field |
FIELD_TEXTBOX | Input text field |
LPBYTE FieldCode; | Field code associated with Field Id. Pass a NULL value for the field ids (such as FIELD_NAME and FIELD_DATA) that do not use field code. |
BOOL present; | TRUE to test for the presence of the given field id, or FALSE to test for the absence of the given field id. |
long far *StartLine; | (INPUT/OUTPUT) Specifies the pointer to the line number to start the search. On a successful search, this parameter contains the line number of the located text. |
int far *StartCol: | (INPUT/OUTPUT) Specifies the pointer to the column number to start the search. On a successful search, this parameter contains the column number of the located text. |
BOOLforward; | TRUE to scan the text in the forward direction, or FALSE to scan the text in the backward direction. |
Return Value: This function returns a TRUE value when successful.