Microsoft® Windows® Script Interfaces
IActiveScriptSiteWindow::GetWindow
 Language Reference
Previous
Next


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.

phwnd
[out] Address of a variable that receives the window handle.

This method is similar to the IOleWindow::GetWindow method.