<?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 : ChartElement type</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Chart Control : ChartElement type]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 21 May 2026 05:24:04 +0000</pubDate>
  <lastBuildDate>Wed, 28 Mar 2012 09:21:22 +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=19585</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[ChartElement type : Something like this:void CMark...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=19585&amp;PID=67887&amp;title=chartelement-type#67887</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=369">SuperMario</a><br /><strong>Subject:</strong> 19585<br /><strong>Posted:</strong> 28 March 2012 at 9:21am<br /><br /><div>Something like this:</div><div><br></div><div>void CMarkupTitleView::OnChartClick(NMHDR* /*pNMHDR*/, LRESULT* /*pResult*/)</div><div>{</div><div><span ="Apple-tab-span" style="white-space:pre">	</span>CPoint pt;</div><div><span ="Apple-tab-span" style="white-space:pre">	</span>GetCursorPos(&amp;pt);</div><div><span ="Apple-tab-span" style="white-space:pre">	</span>m_wndChartControl.ScreenToClient(&amp;pt);</div><div><br></div><div><span ="Apple-tab-span" style="white-space:pre">	</span>CXTPChartElement* pElement = m_wndChartControl.HitTest(pt);</div><div><br></div><div><span ="Apple-tab-span" style="white-space:pre">	</span>if (DYNAMIC_DOWNCAST(CXTPChartTitle, pElement))</div><div><span ="Apple-tab-span" style="white-space:pre">	</span>{</div><div><span ="Apple-tab-span" style="white-space:pre">		</span>CXTPChartTitle* pTitle = (CXTPChartTitle*)pElement;</div><div><br></div><div><span ="Apple-tab-span" style="white-space:pre">		</span>SetTitle(pTitle);</div><div><span ="Apple-tab-span" style="white-space:pre">	</span>}<span ="Apple-tab-span" style="white-space:pre">	</span></div><div><span ="Apple-tab-span" style="white-space:pre">	</span>else if (DYNAMIC_DOWNCAST(CXTPChartAxis, pElement))</div><div><span ="Apple-tab-span" style="white-space:pre">	</span>{</div><div><span ="Apple-tab-span" style="white-space:pre">		</span>CXTPChartAxis* pAxis = (CXTPChartAxis*)pElement;</div><div><br></div><div><span ="Apple-tab-span" style="white-space:pre">		</span>pAxis-&gt;GetTitle()-&gt;SetVisible(TRUE);</div><div><span ="Apple-tab-span" style="white-space:pre">		</span>pAxis-&gt;GetTitle()-&gt;SetText(_T("Clicked On Axis"));</div><div><br></div><div><span ="Apple-tab-span" style="white-space:pre">		</span>//SetTitle(pTitle);</div><div><span ="Apple-tab-span" style="white-space:pre">	</span>}</div><div><span ="Apple-tab-span" style="white-space:pre">	</span>else if (DYNAMIC_DOWNCAST(CXTPChartSeriesPoint, pElement))</div><div><span ="Apple-tab-span" style="white-space:pre">	</span>{</div><div><span ="Apple-tab-span" style="white-space:pre">		</span>CXTPChartSeriesPoint* pPoint = (CXTPChartSeriesPoint*)pElement;</div><div><br></div><div><span ="Apple-tab-span" style="white-space:pre">		</span>TRACE(_T("Clicked on point with value: %i and argument: %s\n"), (int)pPoint-&gt;GetValue(0), pPoint-&gt;GetArgument());</div><div><span ="Apple-tab-span" style="white-space:pre">	</span>}</div><div><span ="Apple-tab-span" style="white-space:pre">	</span>else</div><div><span ="Apple-tab-span" style="white-space:pre">	</span>{</div><div><span ="Apple-tab-span" style="white-space:pre">		</span>SetTitle(NULL);</div><div><span ="Apple-tab-span" style="white-space:pre">	</span>}</div><div>}</div>]]>
   </description>
   <pubDate>Wed, 28 Mar 2012 09:21:22 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=19585&amp;PID=67887&amp;title=chartelement-type#67887</guid>
  </item> 
  <item>
   <title><![CDATA[ChartElement type : Hi All  When using ChartElement...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=19585&amp;PID=67827&amp;title=chartelement-type#67827</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=7393">Minieggs</a><br /><strong>Subject:</strong> 19585<br /><strong>Posted:</strong> 20 March 2012 at 9:45am<br /><br />Hi All<DIV>&nbsp;</DIV><DIV>When using ChartElement how can you tell what type of element the returned handle points to ?</DIV><DIV>&nbsp;</DIV><DIV>Thanks</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Tue, 20 Mar 2012 09:45:11 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=19585&amp;PID=67827&amp;title=chartelement-type#67827</guid>
  </item> 
 </channel>
</rss>