Silverfrost Logo About Us | Contact Us
 

Getting text from a ClearWin window

It is possible to extract the data placed into a ClearWin window by calling:

INTEGER FUNCTION GET_CLEARWIN_TEXT@(WIN,BUFFER,COPY)
INTEGER WIN, COPY
CHARACTER*(*) BUFFER

WIN is the handle of ClearWin window in question. To obtain the handle of the default window use:

WIN=GET_DEFAULT_WINDOW@( )

If COPY is zero, the function returns the length of the required buffer but no data is copied. If COPY is 1, the data is also copied to the buffer.

 

 

Copyright © 1999-2017 Silverfrost Limited