TerLocateStyleChar
Locate the character with the given style.
BOOL TerLocateStyleChar(hWnd,style,present, StartLine, StartCol, forward)
HWND hWnd; | Handle of the window to be accessed |
UINT style; | Style bits. See TerLocateStyle function for the detail. |
BOOL present; | TRUE to test for the presence of the given style, or FALSE to test for the absence of the given style. |
long far *StartLine: | (INPUT/OUTPUT) Specifies the pointer to the line number to start the search. On a successful search, this field 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 field contains the column number of the located text. |
BOOL forward; | 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.