<?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 : Bug in CXTPPropertyGridItemDouble</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : Bug in CXTPPropertyGridItemDouble]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sun, 05 Apr 2026 13:46:25 +0000</pubDate>
  <lastBuildDate>Wed, 08 Nov 2006 06:45:28 +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=5460</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[Bug in CXTPPropertyGridItemDouble : HelloThere is a Bug in the CXTPPropertyGridItemDouble...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5460&amp;PID=17129&amp;title=bug-in-cxtppropertygriditemdouble#17129</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2329">nobs</a><br /><strong>Subject:</strong> 5460<br /><strong>Posted:</strong> 08 November 2006 at 6:45am<br /><br /><font face="Courier New, Courier, mono"><font face="Arial, Helvetica, sans-serif">Hello<br><br>There is a Bug in the </font></font><font face="Courier New, Courier, mono">CXTPPropertyGridItemDouble class <img src="http://forum.codejock.com/smileys/smiley5.gif" border="0" align="absmiddle"><br>in the function:</font><font face="Courier New, Courier, mono"><br>CString CXTPPropertyGridItemDouble::DoubleToString(double dValue)<br>you have the code<br>&nbsp;&nbsp;&nbsp; CString strFormat(m_strFormat);<br>&nbsp;&nbsp;&nbsp; if (strFormat.IsEmpty())<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; strFormat = _T("%0.2f");<br><br>&nbsp;&nbsp;&nbsp; CString strValue;<br>&nbsp;&nbsp;&nbsp; <font color="#ff0000">strValue.Format(m_strFormat, dValue);</font><br>&nbsp;&nbsp;&nbsp; return strValue;<br><font face="Arial, Helvetica, sans-serif"><br>The red line should be replaced with&nbsp; like<br></font></font><font face="Courier New, Courier, mono"><font color="#ff0000">&nbsp;&nbsp;&nbsp; <font color="#000000">strValue.Format(strFormat, dValue);<br>&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;  &nbsp;&nbsp;  &nbsp;&nbsp;  &nbsp;&nbsp;  &nbsp;&nbsp; ^^^^^^^ <br><font face="Arial, Helvetica, sans-serif">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; you are referencing the wrong variable<br><br>File&nbsp;&nbsp; XTPPropertyGridItemNumber.cpp<br>Linenumber 193<br><br>I found this problem when using the function&nbsp; "UseSystemDecimalSymbol"<br><br><br></font></font></font></font>]]>
   </description>
   <pubDate>Wed, 08 Nov 2006 06:45:28 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5460&amp;PID=17129&amp;title=bug-in-cxtppropertygriditemdouble#17129</guid>
  </item> 
 </channel>
</rss>