<?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 : [FIXED] PropertyGridItemEnum is not case sensitve</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Property Grid : [FIXED] PropertyGridItemEnum is not case sensitve]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Fri, 17 Apr 2026 02:06:24 +0000</pubDate>
  <lastBuildDate>Mon, 01 Aug 2011 02:27:57 +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=18718</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[[FIXED] PropertyGridItemEnum is not case sensitve : Hello Oleg,thanks for the answer....]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18718&amp;PID=65618&amp;title=fixed-propertygriditemenum-is-not-case-sensitve#65618</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1169">farr02</a><br /><strong>Subject:</strong> 18718<br /><strong>Posted:</strong> 01 August 2011 at 2:27am<br /><br />Hello Oleg,<br><br>thanks for the answer. I updated the code and it works well for me. <br>For the future it would be nice to have a possibility to set a user defined compare method in FindConstraints. This avoids changing the library source code after every new release. <img src="http://forum.codejock.com/smileys/smiley1.gif" border="0" alt="Smile" title="Smile" /><br><br>]]>
   </description>
   <pubDate>Mon, 01 Aug 2011 02:27:57 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18718&amp;PID=65618&amp;title=fixed-propertygriditemenum-is-not-case-sensitve#65618</guid>
  </item> 
  <item>
   <title><![CDATA[[FIXED] PropertyGridItemEnum is not case sensitve :  Sorry we don&amp;#039;t consider...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18718&amp;PID=65495&amp;title=fixed-propertygriditemenum-is-not-case-sensitve#65495</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 18718<br /><strong>Posted:</strong> 26 July 2011 at 1:55pm<br /><br />Sorry we don't consider it as bug. was a lot of requests for compareNoCase in past. just can't be changed now. Please update code as you need.]]>
   </description>
   <pubDate>Tue, 26 Jul 2011 13:55:47 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18718&amp;PID=65495&amp;title=fixed-propertygriditemenum-is-not-case-sensitve#65495</guid>
  </item> 
  <item>
   <title><![CDATA[[FIXED] PropertyGridItemEnum is not case sensitve :  Hello,CXTPPropertyGridItemEnum...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18718&amp;PID=65449&amp;title=fixed-propertygriditemenum-is-not-case-sensitve#65449</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1169">farr02</a><br /><strong>Subject:</strong> 18718<br /><strong>Posted:</strong> 25 July 2011 at 3:15am<br /><br />Hello,<br><br>CXTPPropertyGridItemEnum is not case sensitive (tested with version 13.4.2 and 15.1.1). The following code is taken from the GridSample. I have just added some more constraints and the TRACE statements:<br><br><table width="99%"><tr><td><pre class="BBcode"><br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; CXTPPropertyGridItem* pItem = pStandard-&gt;AddChildItem(new CXTPPropertyGridItemEnum(_T("Enum item"), 2));<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; pItem-&gt;GetConstraints()-&gt;AddConstraint(_T("Windows 98"), 1);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; pItem-&gt;GetConstraints()-&gt;AddConstraint(_T("Windows 2000"), 2);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; pItem-&gt;GetConstraints()-&gt;AddConstraint(_T("Windows XP"), 3);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; pItem-&gt;GetConstraints()-&gt;AddConstraint(_T("Windows xp"), 4);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; pItem-&gt;GetConstraints()-&gt;AddConstraint(_T("windows xp"), 5);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; pItem-&gt;GetConstraints()-&gt;AddConstraint(_T("windows XP"), 6);<br><br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; TRACE1("Constraint: %d\n", pItem-&gt;GetConstraints()-&gt;FindConstraint(_T("Windows XP")));<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; TRACE1("Constraint: %d\n", pItem-&gt;GetConstraints()-&gt;FindConstraint(_T("Windows xp")));<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; TRACE1("Constraint: %d\n", pItem-&gt;GetConstraints()-&gt;FindConstraint(_T("windows xp")));<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; TRACE1("Constraint: %d\n", pItem-&gt;GetConstraints()-&gt;FindConstraint(_T("windows XP")));<br></pre></td></tr></table><br><br>All FindConstraint statements return 2 (the index of "Windows XP").<br>The fix for the bug seems to be simple. Just replace the "CompareNoCase" in the CXTPPropertyGridItemConstraints::FindConstraint method with "Compare". It would be nice if CodeJock can fix this in the next version.<br><br>Best regards<br>&nbsp;&nbsp; Holger Farr.<br><br><br>]]>
   </description>
   <pubDate>Mon, 25 Jul 2011 03:15:23 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18718&amp;PID=65449&amp;title=fixed-propertygriditemenum-is-not-case-sensitve#65449</guid>
  </item> 
 </channel>
</rss>