<?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 : FindC&#111;nstraint() - Spelling and Need Help</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : FindC&#111;nstraint() - Spelling and Need Help]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Mon, 20 Apr 2026 01:28:49 +0000</pubDate>
  <lastBuildDate>Fri, 06 Aug 2004 14:07:14 +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=1032</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[FindC&#111;nstraint() - Spelling and Need Help : I am working with the CXTPItemConstraints...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1032&amp;PID=2683&amp;title=findconstraint-spelling-and-need-help#2683</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=7">jwhagen</a><br /><strong>Subject:</strong> 1032<br /><strong>Posted:</strong> 06 August 2004 at 2:07pm<br /><br /><P>I am working with the <FONT color=#0000ff>CXTPItemConstraints</FONT><FONT color=#000000> to along with the </FONT><FONT color=#0000ff>CXTPPropertyGridItem<FONT color=#000000>. I have run into a minor problem and need to know how to have the desired constraint show up in my list when the child item is displayed. For instance,</FONT></P></FONT><P><table width="99%"><tr><td><pre class="BBcode">&nbsp;//&nbsp;Find the value for this parameter and preset it<BR>&nbsp;if (-1 == pList-&gt;FindConstaint(sAirRating))<BR> &nbsp;&nbsp;pList-&gt;SetCurrent(pList-&gt;FindConstaint(NO_ DATA));<BR>&nbsp;else<BR> &nbsp;&nbsp;pList-&gt;SetCurrent(pList-&gt;FindConstaint(sAi rRating));</P><P></pre></td></tr></table></P><P>I'm trying to set the current value (found in the variable) to be displayed to the user, if one was found. If not found, then I want it to display NO_DATA ( _T("NoData") ). However, as it now stands, my default value for the sAirRating variable is NULL and I expect NoData to show on the child value, but I get nothing.</P><P>Any idea why?</P><P>Also, the member function FindConstaint is spelled wrong. Should be FindConstraint (note the missing R).</P><P>Thanks!</P><P>John Hagen</P><P>&nbsp;</P>]]>
   </description>
   <pubDate>Fri, 06 Aug 2004 14:07:14 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1032&amp;PID=2683&amp;title=findconstraint-spelling-and-need-help#2683</guid>
  </item> 
 </channel>
</rss>