<?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 string length / Input mask</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Property Grid : Limit string length / Input mask]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sun, 19 Apr 2026 06:57:16 +0000</pubDate>
  <lastBuildDate>Mon, 07 May 2007 08:14:25 +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=7052</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 string length / Input mask : Hello,  To limit text call ...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7052&amp;PID=22611&amp;title=limit-string-length-input-mask#22611</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 7052<br /><strong>Posted:</strong> 07 May 2007 at 8:14am<br /><br />Hello,<DIV>&nbsp;</DIV><DIV>To limit text call</DIV><DIV>&nbsp;</DIV><DIV>pItem-&gt;GetValueMetrics()-&gt;m_nMaxLength = xxx;</DIV>]]>
   </description>
   <pubDate>Mon, 07 May 2007 08:14:25 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7052&amp;PID=22611&amp;title=limit-string-length-input-mask#22611</guid>
  </item> 
  <item>
   <title><![CDATA[Limit string length / Input mask :   I need to limit the length...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7052&amp;PID=22581&amp;title=limit-string-length-input-mask#22581</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1755">ABuenger</a><br /><strong>Subject:</strong> 7052<br /><strong>Posted:</strong> 05 May 2007 at 7:25pm<br /><br />I need to limit the length of a string item but&nbsp; <b>pItem-&gt;GetInplaceEdit().SetLimitText(...)</b> does not work, the CEdit is not yet created in OnInitDialog or OnShowWindow.<br><br>How can I limit the string length?<br><br>I also need to limit the maximum number of digits of an integer item.<br><br>I've also tried to set a mask for a double item but that doesn't work.<br>"A" and "0" does not allow the decimal separator ("," or ".") to be entered and if I set the mask to "&amp;" and then enter "1,5" I get an (KERNEL32.DLL): 0xE06D7363: Microsoft C++ Exception.<br><br>Also I don't want the prompt character ("_") to be displayed and the mask to be drawn in a gray shade. I also would like the mask to be displayed always and not only when the item is selected.<br><br><br>Is:<br><br><img src="uploads/temp/20070506_172039_memo_mask.png" height="476" width="418" border="0"><br><br>Should be:<br><br><img src="uploads/temp/20070506_173209_memo_should.png" height="476" width="418" border="0"><br>]]>
   </description>
   <pubDate>Sat, 05 May 2007 19:25:08 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7052&amp;PID=22581&amp;title=limit-string-length-input-mask#22581</guid>
  </item> 
 </channel>
</rss>