Help Center

CWebView2.PostWebMessageAsStringmethod

Posts a message that is a simple string rather than a JSON string representation of a JavaScript object.

WebViewmethoddocumented

Syntax

FUNCTION PostWebMessageAsString (BYVAL webMessageAsString AS LPCWSTR) AS HRESULT

Parameters

NameDescription
webMessageAsString[in] The message as a string.

Description

Posts a message that is a simple string rather than a JSON string representation of a JavaScript object.

Reference

  • Defined in AfxNova/CWebView2.inc:756
  • Documented in WebView/CWebWiew2 Class.md
  • Topic: CWebView2 Class