<?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 : HOWTO: v19.3 - CXTPPropertyGridEnum - how to empty</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Property Grid : HOWTO: v19.3 - CXTPPropertyGridEnum - how to empty]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sun, 19 Apr 2026 01:50:44 +0000</pubDate>
  <lastBuildDate>Tue, 01 Jun 2021 10:25:53 +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=24059</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[HOWTO: v19.3 - CXTPPropertyGridEnum - how to empty : Hello!What about this issue? We...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=24059&amp;PID=78113&amp;title=howto-v19-3-cxtppropertygridenum-how-to-empty#78113</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=109">mgampi</a><br /><strong>Subject:</strong> 24059<br /><strong>Posted:</strong> 01 June 2021 at 10:25am<br /><br />Hello!<div>What about this issue? We still see the problem in 19.2 and 19.3.</div><div>Anyone else?</div><div><br></div>How to fix it?]]>
   </description>
   <pubDate>Tue, 01 Jun 2021 10:25:53 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=24059&amp;PID=78113&amp;title=howto-v19-3-cxtppropertygridenum-how-to-empty#78113</guid>
  </item> 
  <item>
   <title><![CDATA[HOWTO: v19.3 - CXTPPropertyGridEnum - how to empty : Hi;After migration to v19.3, we...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=24059&amp;PID=77854&amp;title=howto-v19-3-cxtppropertygridenum-how-to-empty#77854</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=109">mgampi</a><br /><strong>Subject:</strong> 24059<br /><strong>Posted:</strong> 21 September 2020 at 3:36am<br /><br /><div>Hi;</div><div><br></div><div>After migration to v19.3, we no longer can 'empty' an enum property.</div><div>In older toolkit versions we set -1 in ctor and/or to the SetEnum() funtion. This does the trick.</div><div>In v19.3 we get an assert and the display value is not empty anymore.<br><br>BTW: The signature and implementation of the SetEnum function is not consistent:</div><div><br></div><div><table width="99%"><tr><td><pre class="BBcode">void CXTPPropertyGridItemEnum::SetEnum(<strong><font color="red">int</font></strong> nValue)<br>{<br>&nbsp;&nbsp; &nbsp;m_nValue = nValue;<br><br>&nbsp;&nbsp; &nbsp;if (m_pBindEnum)<br>&nbsp;&nbsp; &nbsp;{<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; *m_pBindEnum = nValue;<br>&nbsp;&nbsp; &nbsp;}<br><br>&nbsp;&nbsp; &nbsp;int nIndex = m_pConstraints-&gt;FindConstraint(<strong><font color="red">XTPToULongPtrChecked</font></strong>(nValue));<br>&nbsp;&nbsp; &nbsp;CXTPPropertyGridItem::SetValue(m_pConstraints-&gt;GetAt(nIndex));<br>}</pre></td></tr></table></div><div><br></div><div>Can you see the int --&gt; unsigned long --&gt; int conversion?</div><div>Why?</div><div><br></div>]]>
   </description>
   <pubDate>Mon, 21 Sep 2020 03:36:37 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=24059&amp;PID=77854&amp;title=howto-v19-3-cxtppropertygridenum-how-to-empty#77854</guid>
  </item> 
 </channel>
</rss>