SAVEWINDOW() Function

 

Captures the chosen Window and saves it to the hard disk

 

 

Description:

 

This function enables the user to capture a screen shot of the Window and save it as a .BMP file

 

Syntax:

 

    SAVEWINDOW( <cWindowName>, [ <cFileName> ], [ <nRow> ], [ <nCol> ], [ <nWidth> ], [ <nHeight ] )

 

Parameters:

 

The following optional parameters can be used;

 

    <cWindowName>  - Defines the name of the Window to be saved

    <cFileName>      - Defines the name of the file to save the output to. If not specified, this defaults to the name of the Window

    <nRow>            - Sets the row number to capture from (default is 0)

    <nCol>            - Sets the column number to capture from (default is 0)

    <nWidth>          - Sets the width to capture (default is the width of the Window client work area)

    <nHeight>         - Sets the height to capture (default is the height of the Window client work area)

 

Valid For Use With:

 

This function can be used on all definable and activated Window types

 

Notes:

  1. This Function is similar to using the CAPTURE Method

  2. The source code for the SAVEWINDOW() Function can be found from line 6209 in the h_windows.prg file in the HMG Source folder

  3. No help documentation was published with the original or subsequent releases of HMG

 

 

 

Copyright © - Stuart Aitken - 2020-2021