Condividi tramite


CHtmlView::GetSource

Call this member function to retrieve the HTML source code for the web page.

BOOL GetSource(
   CString& strRef 
);

Return Value

Nonzero if successful; otherwise zero.

Parameters

  • refString
    A CString that will hold the source code.

Remarks

This function is equivalent to the "View Source" command in Internet Explorer, except that the source code is returned in a CString.

Requirements

Header: afxhtml.h

See Also

Reference

CHtmlView Class

Hierarchy Chart

Other Resources

CHtmlView Members