| Home | All functions | Categories |
vuWindow2Bmp(*CSTRING), Signed
Saves the current active window to the specified bitmap file.
| 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.
A BYTE value:
True if the window was successfully saved.False if the operation failed.FileName = 'C:\Temp\Screen1.bmp'
IF vuWindow2Bmp(FileName)
MESSAGE('Window was saved to ' & FileName)
ELSE
MESSAGE('Failed to save window to bitmap file')
END
.bmp extension.| Home | All functions | Categories |