WinFind (function)
Syntax | WinFind (name$) As HWND |
Description | Returns an object variable referencing the window having the given name. |
Comments | The name$ parameter is specified using the same format as that used by the WinActivate statement. |
Example |
This example closes Microsoft Word if its object reference is found.
|
See Also | WinActivate (statement). |