<?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 : About Hex value in property grid.</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Property Grid : About Hex value in property grid.]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sun, 19 Apr 2026 07:05:48 +0000</pubDate>
  <lastBuildDate>Sun, 05 Feb 2006 19:04:07 +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=3601</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[About Hex value in property grid. : Thanks!!! ]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3601&amp;PID=10821&amp;title=about-hex-value-in-property-grid#10821</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1647">dubaoan</a><br /><strong>Subject:</strong> 3601<br /><strong>Posted:</strong> 05 February 2006 at 7:04pm<br /><br />Thanks!!!]]>
   </description>
   <pubDate>Sun, 05 Feb 2006 19:04:07 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3601&amp;PID=10821&amp;title=about-hex-value-in-property-grid#10821</guid>
  </item> 
  <item>
   <title><![CDATA[About Hex value in property grid. : Hi, Here custom class: class...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3601&amp;PID=10816&amp;title=about-hex-value-in-property-grid#10816</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 3601<br /><strong>Posted:</strong> 05 February 2006 at 4:50am<br /><br /><P>Hi,</P><P>Here custom class:</P><P>class CXTPPropertyGridItemHexNumber : public CXTPPropertyGridItemNumber<BR>{<BR>public:<BR>&nbsp;CXTPPropertyGridItemHexNumber(const CString&amp; strCaption, long nValue = 0)<BR>&nbsp;&nbsp;: CXTPPropertyGridItemNumber(strCaption, nValue)<BR>&nbsp;{<BR>&nbsp;&nbsp;SetNumber(nValue);<BR>&nbsp;}</P><P>&nbsp;void SetValue(CString strValue)<BR>&nbsp;{<BR>&nbsp;&nbsp;int nValue = 0;<BR>&nbsp;&nbsp;if (_stscanf(strValue, _T("%x"), &amp;nValue) == 1)<BR>&nbsp;&nbsp;{&nbsp;<BR>&nbsp;&nbsp;&nbsp;SetNumber(nValue);<BR>&nbsp;&nbsp;}<BR>&nbsp;}<BR>&nbsp;<BR>&nbsp;void SetNumber(long nValue)<BR>&nbsp;{<BR>&nbsp;&nbsp;m_nValue = nValue;<BR>&nbsp;&nbsp;<BR>&nbsp;&nbsp;if (m_pBindNumber)<BR>&nbsp;&nbsp;{<BR>&nbsp;&nbsp;&nbsp;*m_pBindNumber = m_nValue;<BR>&nbsp;&nbsp;}<BR>&nbsp;&nbsp;<BR>&nbsp;&nbsp;CString strValue;<BR>&nbsp;&nbsp;strValue.Format(_T("%x"), nValue);<BR>&nbsp;&nbsp;CXTPPropertyGridItem::SetValue(strValue);<BR>&nbsp;}<BR>};<BR></P>]]>
   </description>
   <pubDate>Sun, 05 Feb 2006 04:50:40 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3601&amp;PID=10816&amp;title=about-hex-value-in-property-grid#10816</guid>
  </item> 
  <item>
   <title><![CDATA[About Hex value in property grid. : Hi, all,   Would you please tell...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3601&amp;PID=10814&amp;title=about-hex-value-in-property-grid#10814</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1647">dubaoan</a><br /><strong>Subject:</strong> 3601<br /><strong>Posted:</strong> 05 February 2006 at 1:05am<br /><br /><P>Hi, all, </P><P>&nbsp;&nbsp;&nbsp; Would you please tell me&nbsp;whether&nbsp;CXTPPropertyGridItemNumber supports display and acceptance of&nbsp;the hex value?&nbsp;And if not, how can I realize&nbsp;that?&nbsp;</P><P>&nbsp;&nbsp;&nbsp;&nbsp;Is there any&nbsp;ways other than&nbsp;using 'SetMask'&nbsp;?</P><P>&nbsp;&nbsp;&nbsp; Thanks!</P>]]>
   </description>
   <pubDate>Sun, 05 Feb 2006 01:05:45 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3601&amp;PID=10814&amp;title=about-hex-value-in-property-grid#10814</guid>
  </item> 
 </channel>
</rss>