<?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 : Limit text of CXTPPropertyGridItem</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Property Grid : Limit text of CXTPPropertyGridItem]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Fri, 17 Apr 2026 07:16:02 +0000</pubDate>
  <lastBuildDate>Thu, 24 Nov 2005 01:35:20 +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=3221</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[Limit text of CXTPPropertyGridItem : Great, thank you! This is one...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3221&amp;PID=9755&amp;title=limit-text-of-cxtppropertygriditem#9755</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1139">Martin</a><br /><strong>Subject:</strong> 3221<br /><strong>Posted:</strong> 24 November 2005 at 1:35am<br /><br /><P>Great, thank you!</P><P>This is one way to do it, but I was hoping for a more easier, obvious solution.&nbsp;</P><P>Hopefully the CJ team is willing to implement this into a next release!</P><P>Cheers!</P>]]>
   </description>
   <pubDate>Thu, 24 Nov 2005 01:35:20 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3221&amp;PID=9755&amp;title=limit-text-of-cxtppropertygriditem#9755</guid>
  </item> 
  <item>
   <title><![CDATA[Limit text of CXTPPropertyGridItem :  I found it!!! It appears you...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3221&amp;PID=9742&amp;title=limit-text-of-cxtppropertygriditem#9742</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=820">Vitaly</a><br /><strong>Subject:</strong> 3221<br /><strong>Posted:</strong> 23 November 2005 at 11:40am<br /><br /><FONT color=#0000ff size=2><P>I found it!!! It appears you just need to override class CXTPPropertyGridItem like i did for my UserField entity:</P><P><table width="99%"><tr><td><pre class="BBcode"></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: n&#111;ne"><SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'">class</SPAN><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"><FONT color=#000000> CUserFieldEdit:</FONT><SPAN style="COLOR: blue">public</SPAN><FONT color=#000000> CXTPPropertyGridInplaceEdit<?:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></FONT></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: n&#111;ne"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"><FONT color=#000000>{<o:p></o:p></FONT></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: n&#111;ne"><SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'">public</SPAN><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"><FONT color=#000000>:<o:p></o:p></FONT></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: n&#111;ne"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"><o:p><FONT color=#000000>&nbsp;</FONT></o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: n&#111;ne"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"><FONT color=#000000><SPAN style="mso-tab-count: 1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>CUserFieldEdit():m_iMaxChars(0){};<o:p></o:p></FONT></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: n&#111;ne"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"><o:p><FONT color=#000000>&nbsp;</FONT></o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: n&#111;ne"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"><SPAN style="mso-tab-count: 1"><FONT color=#000000>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </FONT></SPAN><SPAN style="COLOR: blue">void</SPAN><FONT color=#000000> SetMaxChars(</FONT><SPAN style="COLOR: blue">int</SPAN><FONT color=#000000> iMaxChars)<o:p></o:p></FONT></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: n&#111;ne"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"><FONT color=#000000><SPAN style="mso-tab-count: 1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>{<o:p></o:p></FONT></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: n&#111;ne"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"><FONT color=#000000><SPAN style="mso-tab-count: 2"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; </SPAN>m_iMaxChars = iMaxChars;<o:p></o:p></FONT></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: n&#111;ne"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"><FONT color=#000000><SPAN style="mso-tab-count: 1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>}<o:p></o:p></FONT></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: n&#111;ne"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"><o:p><FONT color=#000000>&nbsp;</FONT></o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: n&#111;ne"><SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'">protected</SPAN><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"><FONT color=#000000>:<o:p></o:p></FONT></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: n&#111;ne"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"><o:p><FONT color=#000000>&nbsp;</FONT></o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: n&#111;ne"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"><SPAN style="mso-tab-count: 1"><FONT color=#000000>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </FONT></SPAN><SPAN style="COLOR: blue">virtual</SPAN><FONT color=#000000> </FONT><SPAN style="COLOR: blue">void</SPAN><FONT color=#000000> Create(CXTPPropertyGridItem * pItem, CRect rect)<o:p></o:p></FONT></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: n&#111;ne"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"><FONT color=#000000><SPAN style="mso-tab-count: 1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>{<o:p></o:p></FONT></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: n&#111;ne"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"><SPAN style="mso-tab-count: 2"><FONT color=#000000> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; </FONT></SPAN><SPAN style="COLOR: blue">__super</SPAN><FONT color=#000000>::Create(pItem, rect);<o:p></o:p></FONT></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: n&#111;ne"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"><FONT color=#000000><SPAN style="mso-tab-count: 2"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; </SPAN><o:p></o:p></FONT></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: n&#111;ne"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"><SPAN style="mso-tab-count: 2"><FONT color=#000000> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; </FONT></SPAN><SPAN style="COLOR: blue">if</SPAN><FONT color=#000000>(m_iMaxChars)<SPAN style="mso-tab-count: 5"> &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; </SPAN></FONT><SPAN style="COLOR: green">// If limit was defined;<o:p></o:p></SPAN></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: n&#111;ne"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"><FONT color=#000000><SPAN style="mso-tab-count: 3"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>SetLimitText(m_iMaxChars);<SPAN style="mso-tab-count: 1">&nbsp;&nbsp;&nbsp; </SPAN></FONT><SPAN style="COLOR: green">// Set the limit;<o:p></o:p></SPAN></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: n&#111;ne"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"><FONT color=#000000><SPAN style="mso-tab-count: 1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>}<o:p></o:p></FONT></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: n&#111;ne"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"><o:p><FONT color=#000000>&nbsp;</FONT></o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: n&#111;ne"><SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'">private</SPAN><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"><FONT color=#000000>:<o:p></o:p></FONT></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: n&#111;ne"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"><o:p><FONT color=#000000>&nbsp;</FONT></o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: n&#111;ne"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"><SPAN style="mso-tab-count: 1"><FONT color=#000000>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </FONT></SPAN><SPAN style="COLOR: blue">int</SPAN><FONT color=#000000> m_iMaxChars;<o:p></o:p></FONT></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: n&#111;ne"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"><FONT color=#000000>};<o:p></o:p></FONT></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: n&#111;ne"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"><o:p><FONT color=#000000>&nbsp;</FONT></o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: n&#111;ne"><SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'">class</SPAN><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"><FONT color=#000000> CUserFieldItem:</FONT><SPAN style="COLOR: blue">public</SPAN><FONT color=#000000> CXTPPropertyGridItem<o:p></o:p></FONT></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: n&#111;ne"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"><FONT color=#000000>{<o:p></o:p></FONT></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: n&#111;ne"><SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'">public</SPAN><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"><FONT color=#000000>:<o:p></o:p></FONT></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: n&#111;ne"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"><FONT color=#000000><SPAN style="mso-tab-count: 1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>CUserFieldItem(LPCTSTR strItem, </FONT><SPAN style="COLOR: blue">int</SPAN><FONT color=#000000> iMaxChars):CXTPPropertyGridItem(strItem)<o:p></o:p></FONT></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: n&#111;ne"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"><FONT color=#000000><SPAN style="mso-tab-count: 1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>{<o:p></o:p></FONT></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: n&#111;ne"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"><FONT color=#000000><SPAN style="mso-tab-count: 2"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; </SPAN>m_edit.SetMaxChars(iMaxChars);<o:p></o:p></FONT></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: n&#111;ne"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"><FONT color=#000000><SPAN style="mso-tab-count: 1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>}<o:p></o:p></FONT></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: n&#111;ne"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"><o:p><FONT color=#000000>&nbsp;</FONT></o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: n&#111;ne"><SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'">protected</SPAN><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"><FONT color=#000000>:<o:p></o:p></FONT></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: n&#111;ne"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"><o:p><FONT color=#000000>&nbsp;</FONT></o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: n&#111;ne"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"><SPAN style="mso-tab-count: 1"><FONT color=#000000>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </FONT></SPAN><SPAN style="COLOR: blue">virtual</SPAN><FONT color=#000000> CXTPPropertyGridInplaceEdit &amp; GetInplaceEdit()<o:p></o:p></FONT></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: n&#111;ne"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"><FONT color=#000000><SPAN style="mso-tab-count: 1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>{<o:p></o:p></FONT></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: n&#111;ne"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"><SPAN style="mso-tab-count: 2"><FONT color=#000000> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; </FONT></SPAN><SPAN style="COLOR: blue">return</SPAN><FONT color=#000000> m_edit;<o:p></o:p></FONT></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: n&#111;ne"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"><FONT color=#000000><SPAN style="mso-tab-count: 1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>}<o:p></o:p></FONT></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: n&#111;ne"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"><o:p><FONT color=#000000>&nbsp;</FONT></o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: n&#111;ne"><SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'">private</SPAN><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"><FONT color=#000000>:<o:p></o:p></FONT></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: n&#111;ne"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"><o:p><FONT color=#000000>&nbsp;</FONT></o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: n&#111;ne"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"><FONT color=#000000><SPAN style="mso-tab-count: 1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>CUserFieldEdit m_edit;<o:p></o:p></FONT></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: n&#111;ne"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"><FONT color=#000000>};<o:p></o:p></FONT></SPAN></P><P></FONT><FONT size=2></pre></td></tr></table></FONT></P><P><FONT size=2>Then instead of</FONT></P><FONT size=2><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: n&#111;ne"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"><table width="99%"><tr><td><pre class="BBcode"></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: n&#111;ne"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">CXTPPropertyGridItem * pItem<SPAN style="mso-spacerun: yes">&nbsp;&nbsp; </SPAN>= m_UFGrid.AddCategory(_T(""));<o:p></o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: n&#111;ne"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">pItem-&gt;AddChildItem(<SPAN style="COLOR: blue">new</SPAN> CXTPPropertyGridItem(_T("User Field 1")));</SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: n&#111;ne"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"></pre></td></tr></table></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: n&#111;ne"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">you'll be calling:</SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: n&#111;ne"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"><table width="99%"><tr><td><pre class="BBcode"></SPAN></P><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: n&#111;ne"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">CXTPPropertyGridItem * pItem<SPAN style="mso-spacerun: yes">&nbsp;&nbsp; </SPAN>= m_UFGrid.AddCategory(_T(""));<o:p></o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: n&#111;ne"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">pItem-&gt;AddChildItem(<SPAN style="COLOR: blue">new</SPAN> CUserFieldItem(_T("User Field 1"), 10));<o:p></o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: n&#111;ne"></SPAN><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"></pre></td></tr></table></SPAN></P><P>&nbsp;</P></FONT>]]>
   </description>
   <pubDate>Wed, 23 Nov 2005 11:40:35 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3221&amp;PID=9742&amp;title=limit-text-of-cxtppropertygriditem#9742</guid>
  </item> 
  <item>
   <title><![CDATA[Limit text of CXTPPropertyGridItem : Nope....  still stuck ]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3221&amp;PID=9740&amp;title=limit-text-of-cxtppropertygriditem#9740</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1139">Martin</a><br /><strong>Subject:</strong> 3221<br /><strong>Posted:</strong> 23 November 2005 at 7:15am<br /><br /><P>Nope.... </P><P>still stuck <IMG src="http://forum.codejock.com/smileys/smiley5.gif" border="0"></P>]]>
   </description>
   <pubDate>Wed, 23 Nov 2005 07:15:30 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3221&amp;PID=9740&amp;title=limit-text-of-cxtppropertygriditem#9740</guid>
  </item> 
  <item>
   <title><![CDATA[Limit text of CXTPPropertyGridItem : Trying do the same now, and also...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3221&amp;PID=9739&amp;title=limit-text-of-cxtppropertygriditem#9739</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=820">Vitaly</a><br /><strong>Subject:</strong> 3221<br /><strong>Posted:</strong> 23 November 2005 at 7:13am<br /><br /><P>Trying do the same now, and also stuck there. Have you found a solution yet?</P><P>&nbsp;</P>]]>
   </description>
   <pubDate>Wed, 23 Nov 2005 07:13:45 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3221&amp;PID=9739&amp;title=limit-text-of-cxtppropertygriditem#9739</guid>
  </item> 
  <item>
   <title><![CDATA[Limit text of CXTPPropertyGridItem : Hello, I think I have a simple...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3221&amp;PID=9619&amp;title=limit-text-of-cxtppropertygriditem#9619</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1139">Martin</a><br /><strong>Subject:</strong> 3221<br /><strong>Posted:</strong> 15 November 2005 at 4:24am<br /><br /><P>Hello,</P><P>I think I have a simple question but I just cannot find the solution to it.</P><P>I want to restrict the text length of a CXTPPropertyGridItem.</P><P>This is what I've tried with no luck:</P><P>CXTPPropertyGridItem *pItem = pCategory-&gt;AddChildItem(new CXTPPropertyGridItem("Description"));</P><P>CXTPPropertyGridInplaceEdit *pEdit = &amp;pItem-&gt;GetInplaceEdit();<BR>pEdit-&gt;SetLimitText(10);</P><P>But this didn't work....</P><P>I also tried using a mask and that works but I am wondering if there's a better solution, I don't want to use the mask for this unless I have no choice.</P><P>Ideas anyone?<BR><BR>TIA,</P><P>Martin</P>]]>
   </description>
   <pubDate>Tue, 15 Nov 2005 04:24:03 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3221&amp;PID=9619&amp;title=limit-text-of-cxtppropertygriditem#9619</guid>
  </item> 
 </channel>
</rss>