<?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 : CXTPPropertyGridItemFont have no StringToFont ?</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Property Grid : CXTPPropertyGridItemFont have no StringToFont ?]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sun, 19 Apr 2026 13:12:09 +0000</pubDate>
  <lastBuildDate>Tue, 02 Oct 2007 21:07:02 +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=8261</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[CXTPPropertyGridItemFont have no StringToFont ? : Because of LOGFONT is a binary...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=8261&amp;PID=26812&amp;title=cxtppropertygriditemfont-have-no-stringtofont#26812</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2598">czlai</a><br /><strong>Subject:</strong> 8261<br /><strong>Posted:</strong> 02 October 2007 at 9:07pm<br /><br /><P>Because of LOGFONT is a binary structure, it is hard to store into a file and&nbsp;edited by general text editor like NotePad.</P><DIV></DIV>I wish to use FontToString() that convert the FONT into a String and store it into .ini with ::WritePrivateProfileString(), then restore the FONT with ::GetPrivateProfileString() and StringToFont().<DIV>Because I saw CXTPPropertyGridItemColor::RGBToString() and StringToRGB(), I think it's better that codejoke provide FontToString() and StringToFont() pair.</DIV>]]>
   </description>
   <pubDate>Tue, 02 Oct 2007 21:07:02 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=8261&amp;PID=26812&amp;title=cxtppropertygriditemfont-have-no-stringtofont#26812</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPPropertyGridItemFont have no StringToFont ? : Hi,  Think you have save/load...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=8261&amp;PID=26784&amp;title=cxtppropertygriditemfont-have-no-stringtofont#26784</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 8261<br /><strong>Posted:</strong> 02 October 2007 at 5:53am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>Think you have save/load LOGFONT instead of string. Get and Set it using pItem-&gt;GetFont() and pItem-&gt;SetFont.</DIV>]]>
   </description>
   <pubDate>Tue, 02 Oct 2007 05:53:28 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=8261&amp;PID=26784&amp;title=cxtppropertygriditemfont-have-no-stringtofont#26784</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPPropertyGridItemFont have no StringToFont ? : I use CXTPPropertyGridItemFont::FontToString()...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=8261&amp;PID=26779&amp;title=cxtppropertygriditemfont-have-no-stringtofont#26779</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2598">czlai</a><br /><strong>Subject:</strong> 8261<br /><strong>Posted:</strong> 02 October 2007 at 4:48am<br /><br />I use CXTPPropertyGridItemFont::FontToString() to store a font.<DIV>But, why it have no StringToFont() that I can restore it ?</DIV>]]>
   </description>
   <pubDate>Tue, 02 Oct 2007 04:48:46 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=8261&amp;PID=26779&amp;title=cxtppropertygriditemfont-have-no-stringtofont#26779</guid>
  </item> 
 </channel>
</rss>