<?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 : SDI app and CChartCtrl in view</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Docking Pane : SDI app and CChartCtrl in view]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 16 Apr 2026 21:46:09 +0000</pubDate>
  <lastBuildDate>Mon, 22 Dec 2003 15:36: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=310</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[SDI app and CChartCtrl in view : Problem solved.  The Advanced...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=310&amp;PID=693&amp;title=sdi-app-and-cchartctrl-in-view#693</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=279">lhamel</a><br /><strong>Subject:</strong> 310<br /><strong>Posted:</strong> 22 December 2003 at 3:36pm<br /><br />Problem solved.  The Advanced demo uses CNoFlickerWnd.  I had my variables declared of that type.  Once I removed it, everything worked.]]>
   </description>
   <pubDate>Mon, 22 Dec 2003 15:36:26 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=310&amp;PID=693&amp;title=sdi-app-and-cchartctrl-in-view#693</guid>
  </item> 
  <item>
   <title><![CDATA[SDI app and CChartCtrl in view : Hello lhamel, maybe your problem...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=310&amp;PID=692&amp;title=sdi-app-and-cchartctrl-in-view#692</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=151">Magnetic core</a><br /><strong>Subject:</strong> 310<br /><strong>Posted:</strong> 22 December 2003 at 3:53am<br /><br /><P>Hello lhamel,</P><P>maybe your problem comes from this line :</P><P>&nbsp; m_pChartView-&gt;Create(_T("STATIC"), NULL, WS_CHILD, CRect(0, 0, 0, 0), this, 0);</P><P>I don't know your chart, but you have given a zero size (CRect(0, 0, 0, 0)), and a zero for the identifier too.</P><P>Greetings</P>]]>
   </description>
   <pubDate>Mon, 22 Dec 2003 03:53:35 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=310&amp;PID=692&amp;title=sdi-app-and-cchartctrl-in-view#692</guid>
  </item> 
  <item>
   <title><![CDATA[SDI app and CChartCtrl in view : I have an app that I&amp;#039;m porting...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=310&amp;PID=690&amp;title=sdi-app-and-cchartctrl-in-view#690</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=279">lhamel</a><br /><strong>Subject:</strong> 310<br /><strong>Posted:</strong> 19 December 2003 at 12:57pm<br /><br />I have an app that I'm porting to use XTP 8.51.  This SDI app has a view for a graph.  I created a blank SDI app, put in the pane code, etc. but my chart doesn't get drawn to the pane.  I've traced through the code some, and it appears that my chart code is being constructed properly, etc.  Any ideas why it might not be drawing to the pane?<br /><br />I used samples\Common\Advanced\HeroesView.h as an example.  I have ChartView.h and ChartView.cpp.  In CChartView::InitialUpdate(), I construct the chart object, draw some axis and labels, etc.  MainFrm.cpp has the docking pane notify message, which gets called.<br /><br />LRESULT CMainFrame::OnDockingPaneNotify(WPARAM wParam, LPARAM lParam)<br />{<br />if (wParam == XTP_DPN_SHOWWINDOW)<br />{<br /> CXTPDockingPane* pPane = (CXTPDockingPane*)lParam;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br /> if (!pPane-&gt;IsValid())<br /> {<br />&nbsp;&nbsp;&nbsp;switch (pPane-&gt;GetID())<br />&nbsp;&nbsp;&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;case ID_PANE_CHART:<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if (m_pChartView == 0)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;m_pChartView = new CChartView();<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;m_pChartView-&gt;C reate(_T("STATIC"), NULL, WS_CHILD, CRect(0, 0, 0, 0), this, 0);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;((CChartView*) m_pChartView)-&gt;OnInitialUpdate();<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;pPane-&gt;Attach(m_pChartView) ;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;break;<br />&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;return TRUE;<br />  }<br /> return FALSE;<br />}<br />]]>
   </description>
   <pubDate>Fri, 19 Dec 2003 12:57:29 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=310&amp;PID=690&amp;title=sdi-app-and-cchartctrl-in-view#690</guid>
  </item> 
 </channel>
</rss>