<?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 : Title SetFont ?</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Chart Control : Title SetFont ?]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 21 May 2026 04:33:32 +0000</pubDate>
  <lastBuildDate>Thu, 16 Oct 2014 18:06:36 +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=22437</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[Title SetFont ? : Never mind.. Solved.This might...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=22437&amp;PID=72841&amp;title=title-setfont#72841</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2657">Algae</a><br /><strong>Subject:</strong> 22437<br /><strong>Posted:</strong> 16 October 2014 at 6:06pm<br /><br />Never mind.. Solved.<br><br>This might help someone else though<br><br>Problem was blank title when setting the font via a CXTPPropertyGridItemFont:<br><br>LOGFONT lf;<br>ZeroMemory(&amp;lf, sizeof(LOGFONT));<br>((CXTPPropertyGridItemFont*)pItem)-&gt;GetFont(&amp;lf);<br>COLORREF color = ((CXTPPropertyGridItemFont*)pItem)-&gt;GetColor();<br><br>CXTPChartContent* pContent = GetEditor()-&gt;m_wndChartControl.GetContent();<br>CXTPChartTitle* pTitle = pContent-&gt;GetTitles()-&gt;GetAt(0);<br><br>pTitle-&gt;GetFont()-&gt;SetLogFont(&amp;lf);<br><br>// replaced this<br><strike>pTitle-&gt;SetTextColor(color);</strike><br>CXTPChartColor titlecolor;<br>titlecolor.SetFromCOLORREF(color);<br>pTitle-&gt;SetTextColor(titlecolor);<br><br>// Added this to update the title<br>pTitle-&gt;OnChartChanged();<br><br>]]>
   </description>
   <pubDate>Thu, 16 Oct 2014 18:06:36 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=22437&amp;PID=72841&amp;title=title-setfont#72841</guid>
  </item> 
 </channel>
</rss>