Search for String

3270 5250 VT
Yes Yes Yes
This function allows a client application to examine the presentation space for a specified string in a specified area.
Note: The client must set the start PS position, string to be searched for, and either the PS Length and Search Direction or End of Field (EOF) flag by using the Set Presentation Space Service Condition function before using this function. If the EOF flag is set to PCS_EFFECTEOF, the function will search the entire field specified by the Start PS Position parameter.
The client sends the following message to search for the string.
PostMessage( hServerWnd,
             WM_DDE_REQUEST,
             hClientWnd,
             MAKELPARAM(cfFormat, aSTRING) );
where:
cfFormat
Identifies the format for the search information. This must be CF_DSPTEXT.
aSTRING
Identifies the search data item.