次の方法で共有


Retrieves the handle to a window that can act as the owner of a pop-up window that the scripting engine must display.

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

  HRESULT GetWindow(
    HWND *phwnd  // address of variable for window handle
);

  • Returns S_OK if successful, or E_FAIL if an error occurred.
  • phwnd
    [out] Address of a variable that receives the window handle.

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