docs

Home All functions Categories

vuWindow2Bmp(FileName)

vuWindow2Bmp(*CSTRING), Signed

Description

Saves the current active window to the specified bitmap file.

Parameters

Parameter Data Type Description
hWnd LONG Handle of the window (use Window{PROP:Handle}).
FileName CSTRING(256) Fully qualified path and filename for the bitmap file (e.g., C:\X.bmp).

Note: In vuFileTools V5, CSTRINGs are not limited to the size shown above. The number is for example only.

Returns

A BYTE value:

Example

FileName = 'C:\Temp\Screen1.bmp'
IF vuWindow2Bmp(FileName)
  MESSAGE('Window was saved to ' & FileName)
ELSE
  MESSAGE('Failed to save window to bitmap file')
END

Notes

Home All functions Categories