|Microsoft® Windows® Script Interfaces
| Language Reference
HRESULT GetWindow( HWND *phwnd // address of variable for window handle );
Retrieves the handle to a window that can act as the owner of a pop-up window that the scripting engine must display.
This method is similar to the IOleWindow::GetWindow method.