CWebView2.PostWebMessageAsJsonmethod
Syntax
FUNCTION PostWebMessageAsJson (BYVAL webMessageAsJson AS LPCWSTR) AS HRESULT
Also documented as
OpenDevToolsWindow — one description covers them all.Parameters
| Name | Description | |
|---|---|---|
webMessageAsJson | [in] The message in JSON format. |
Description
Opens the DevTools window for the current document in the WebView.
Remarks
Does nothing if run when the DevTools window is already open.
Reference
- Defined in AfxNova/CWebView2.inc:745
- Documented in WebView/CWebWiew2 Class.md
- Topic: CWebView2 Class