How to capture a screenshot of a window into a bitmap
You have to use this syntax:
0, | 0 = active window is captured
0, | 0 = The entire window is captured, including the title bar, window frame, menu, etc.
1, | 1 = monochrome, 32 = 32-bits per pixel
If W-BITMAP-HANDLE = 1, you will find your screenshot in the saved .bmp file.
For further details, see:
Appendix I: ACUCOBOL-GT Library Routines > I.1 Library Routines > W$BITMAP