Getting text from a ClearWin window

In this section:

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

INTEGER FUNCTION GET_CLEARWIN_TEXT@(HWND,BUFFER,COPY)
INTEGER(7) HWND
INTEGER COPY
CHARACTER(*) BUFFER

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

HWND=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.

 

 

Basket
Empty
 
Copyright © 1999-2024 Silverfrost Limited