CPPHtmlStatic 是一个 MFC 的组件,用来在 MFC 应用程序中显示 HTML 数据的一个轻量级组件,无需 Windows 的 IE 支持。
示例代码:
// Create a hyperlink control for open WWW link. m_html.SetHyperlink("Goto the Oschina", "http://www.oschina.net"); // Create a hyperlink control to send a mail to me. m_html.SetHyperlink("Send mail to me", "mailto:pustovoyt@mail.ru"); // Create a hyperlink control to send a message to //the parent with label "click no.1". m_html.SetHyperlink("Notify a parent", "click no.1", TRUE);