CWebView2.SetParentWindowmethod
Sets the parent window for the WebView.
Syntax
FUNCTION SetParentWindow (BYVAL parentWindow AS HWND) AS HRESULT
Parameters
| Name | Description | |
|---|---|---|
parentWindow | [in] The handle of the parent window. |
Description
Set the parent window for the WebView.
Remarks
This will cause the WebView to reparent its window to the newly provided window.
Reference
- Defined in AfxNova/CWebView2.inc:863
- Documented in WebView/CWebWiew2 Class.md
- Topic: CWebView2 Class