Help Center
Help CenterAfxNova

AfxWriteHtmlfunction

UncategorisedfunctionCWebCtx.incundocumented
Not documented upstream. This symbol was found in the AfxNova source but appears in no documentation topic. The signature below is read directly from the code; any description comes from the source comments.

Syntax

PRIVATE FUNCTION AfxWriteHtml (BYVAL pWebBrowser AS Afx_IWebBrowser2 PTR, BYREF dwsHtml AS DWSTRING, BYVAL cr AS BOOLEAN = FALSE) AS HRESULT

Parameters

NameDescription
cbsHtmlText and HTML tags to write.
crWrite the HTML text followed by a carriage return. Remarks In HTML, the carriage return is ignored unless it occurs in preformatted text. Note When document.IHTMLDocument2::write or document.IHTMLDocument2::writeln is used in an event handler, you must also use document.IHTMLDocument2::close.
S_OKif successful, or an error value otherwise.

Reference

  • Include file CWebCtx.inc
  • Defined in AfxNova/CWebCtx.inc:1107