<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>Codejock Developer Community : CXTHtmlView and AfxEnableC&#111;ntrolC&#111;ntainer</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : CXTHtmlView and AfxEnableC&#111;ntrolC&#111;ntainer]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sun, 12 Apr 2026 11:40:23 +0000</pubDate>
  <lastBuildDate>Tue, 27 Jul 2004 12:53:26 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.04</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>forum.codejock.com/RSS_post_feed.asp?TID=986</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Codejock Developer Community]]></title>
   <url>http://forum.codejock.com/forum_images/codejock-logo.gif</url>
   <link>http://forum.codejock.com/</link>
  </image>
  <item>
   <title><![CDATA[CXTHtmlView and AfxEnableC&#111;ntrolC&#111;ntainer :  I&amp;#039;m not sure what the point...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=986&amp;PID=2586&amp;title=cxthtmlview-and-afxenablecontrolcontainer#2586</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=203">Ark42</a><br /><strong>Subject:</strong> 986<br /><strong>Posted:</strong> 27 July 2004 at 12:53pm<br /><br /><br>I'm not sure what the point of CXTHtmlView is compared toCHtmlView.&nbsp; I hear in MFC 7 there is a lot more functionality inCHtmlView, but if you are stuck with MFC 6, you are better off creatingyour own CHtmlView class.<br>I made my own that includes the fixes from Q241750 and also uses thecontrol site modifications to disable the context menu anddrag-and-drop URL feature. There are tons of samples around the web onhow to do this, some with even tons more features like if you want toprogram window.external from javascript. Personally I just stick toforms in the html.&nbsp; Its pretty easy to use OnBeforeNavigate2 toget the form values and OnDownloadComplete to set them.<br><br>]]>
   </description>
   <pubDate>Tue, 27 Jul 2004 12:53:26 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=986&amp;PID=2586&amp;title=cxthtmlview-and-afxenablecontrolcontainer#2586</guid>
  </item> 
  <item>
   <title><![CDATA[CXTHtmlView and AfxEnableC&#111;ntrolC&#111;ntainer : I&#8217;m creating and instance of CXTHtmlView...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=986&amp;PID=2585&amp;title=cxthtmlview-and-afxenablecontrolcontainer#2585</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=270">Italo</a><br /><strong>Subject:</strong> 986<br /><strong>Posted:</strong> 27 July 2004 at 12:31pm<br /><br /><P><FONT face="Courier New" size=2>I’m creating and instance of CXTHtmlView with a custom COleControlSite. The problem is that CXTHtmlView::Create calls AfxEnableControlContainer which sets the default control site. Can this be removed from the method? I don’t see a problem having the user call AfxEnableControlContainer before creating an instance of CXTHtmlView.</FONT></P><P>Thanks, Italo</P>]]>
   </description>
   <pubDate>Tue, 27 Jul 2004 12:31:03 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=986&amp;PID=2585&amp;title=cxthtmlview-and-afxenablecontrolcontainer#2585</guid>
  </item> 
 </channel>
</rss>