| Home | All functions | Categories |
vuWindowHandle(*CSTRING), Long
Returns the handle of the first window whose title contains the specified name.
| Parameter | Data Type | Description |
|---|---|---|
| WinName | CSTRING(128) | Name (or partial name) of the running window to retrieve the handle for. |
Note: In vuFileTools V5, CSTRINGs are not limited to the size shown above. The number is for example only.
A LONG value containing the handle of the first window whose title contains WinName. Returns 0 if no matching window is found.
WinName = 'Microsoft'
hWindow = vuWindowHandle(WinName)
IF hWindow
MESSAGE('Found window handle for "' & WinName & '": ' & hWindow)
ELSE
MESSAGE('No window found containing "' & WinName & '"')
END
vuWindow2BmpEx to capture or manipulate the found window.| Home | All functions | Categories |