<?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 : &#068;ocument access from CXTPFrameWnd in SDI</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Docking Pane : &#068;ocument access from CXTPFrameWnd in SDI]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 03:43:24 +0000</pubDate>
  <lastBuildDate>Thu, 16 Dec 2004 12:24:40 +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=1444</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[&#068;ocument access from CXTPFrameWnd in SDI : Thank you very much! Indeed the...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1444&amp;PID=4409&amp;title=document-access-from-cxtpframewnd-in-sdi#4409</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=845">VAGB</a><br /><strong>Subject:</strong> 1444<br /><strong>Posted:</strong> 16 December 2004 at 12:24pm<br /><br /><P>Thank you very much!<IMG src="http://forum.codejock.com/smileys/smiley2.gif" border="0"></P><P>Indeed the problem was derived from a bad interpretation of the code. As CXTPFrameWnd derives from CXTPFrameWndBase as a template Visual C++ does not show the GetActiveDocument() function on its help devices, but if you use it... well, there it is.</P>]]>
   </description>
   <pubDate>Thu, 16 Dec 2004 12:24:40 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1444&amp;PID=4409&amp;title=document-access-from-cxtpframewnd-in-sdi#4409</guid>
  </item> 
  <item>
   <title><![CDATA[&#068;ocument access from CXTPFrameWnd in SDI : Give me your non-working piece...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1444&amp;PID=4119&amp;title=document-access-from-cxtpframewnd-in-sdi#4119</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 1444<br /><strong>Posted:</strong> 23 November 2004 at 11:44pm<br /><br /><P>Give me your non-working piece of code.</P><P>I added </P><P>CDocument* pDocument = GetActiveDocument(); in void CMainFrame::OnCustomize()</P><P>of GUI_ACDSee sample and it works.</P><P>&nbsp;</P><P>Check may be you have </P><P>class CMainFrame : CXTPFrameWnd</P><P>instead of</P><P>class CMainFrame : <strong>public</strong> CXTPFrameWnd</P><P>&nbsp;</P>]]>
   </description>
   <pubDate>Tue, 23 Nov 2004 23:44:11 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1444&amp;PID=4119&amp;title=document-access-from-cxtpframewnd-in-sdi#4119</guid>
  </item> 
  <item>
   <title><![CDATA[&#068;ocument access from CXTPFrameWnd in SDI : Hello!: Here is my question: When...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1444&amp;PID=4114&amp;title=document-access-from-cxtpframewnd-in-sdi#4114</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=845">VAGB</a><br /><strong>Subject:</strong> 1444<br /><strong>Posted:</strong> 23 November 2004 at 12:44pm<br /><br /><P>Hello!:</P><P>Here is my question:</P><P>When you are using the CXTPFrameWnd class as the base class from which CMainFrame is derived in a SDI application, ¿is the access to the document class lost? I mean, I´ve noticed there is no longer GetActiveDocument() function available. With CXTPMDIFrameWnd everything works fine, but I need a SDI application instead of a MDI one. I have data stored in the CDocument class and I need to access to that data from the MainFrame, but as I´ve derived this from CXTPFrameWnd in order to use Docking Panes on it, I have lost all the functions provided by CFrameWnd.</P><P>I hope you are so kind to help me, thanks.</P>]]>
   </description>
   <pubDate>Tue, 23 Nov 2004 12:44:55 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1444&amp;PID=4114&amp;title=document-access-from-cxtpframewnd-in-sdi#4114</guid>
  </item> 
 </channel>
</rss>