SpQueryWindowText: Difference between revisions
Appearance
No edit summary |
m Martini moved page OS2 API:spQueryWindowText to OS2 API:SPUTILS:spQueryWindowText |
(No difference)
|
Revision as of 04:26, 29 June 2016
This function copies window text into a buffer.
Syntax: text = spQueryWindowText ( hwnd )
Parameter:
- hwnd – Window handle. If hwnd is a frame-window handle, the title-bar
- window text is copied.
Returns: Window text.
Example Code: (part of spIsWindow example code)
/* wininfo.cmd (spUtils Example Code) */ [...] SAY LEFT(ARG(1),20,' ')||, 'text: "'||spQueryWindowText(ARG(2))||'"' [...]