<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic problem with edit box &amp; EM_LIMITTEXT in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/problem-with-edit-box-EM-LIMITTEXT/m-p/968319#M23388</link>
    <description>I have an edit box,  I use EM_LIMITTEXT to limit the number of characters to 12. &lt;BR /&gt;I display a default value of 0.000 in the edit box. &lt;BR /&gt;I then find I have problems editing the edit box I can only replace the "0.000" with another 5 characters, I can not enter a number before the first "0". &lt;BR /&gt;If I remove the EM_LIMITTEXT message then the edit box works fine. &lt;BR /&gt; &lt;BR /&gt;Am I doing something wrong? &lt;BR /&gt; &lt;BR /&gt;Thanks, &lt;BR /&gt;David &lt;BR /&gt;   &lt;BR /&gt;iret=SendMessage(hMinE,EM_LIMITTEXT,12,0) &lt;BR /&gt;c13='       0.000'c &lt;BR /&gt;iret=SendMessage(hMinE,WM_SETTEXT,0,loc(c13))</description>
    <pubDate>Tue, 02 Oct 2001 16:51:08 GMT</pubDate>
    <dc:creator>davidgraham</dc:creator>
    <dc:date>2001-10-02T16:51:08Z</dc:date>
    <item>
      <title>problem with edit box &amp; EM_LIMITTEXT</title>
      <link>https://community.intel.com/t5/Software-Archive/problem-with-edit-box-EM-LIMITTEXT/m-p/968319#M23388</link>
      <description>I have an edit box,  I use EM_LIMITTEXT to limit the number of characters to 12. &lt;BR /&gt;I display a default value of 0.000 in the edit box. &lt;BR /&gt;I then find I have problems editing the edit box I can only replace the "0.000" with another 5 characters, I can not enter a number before the first "0". &lt;BR /&gt;If I remove the EM_LIMITTEXT message then the edit box works fine. &lt;BR /&gt; &lt;BR /&gt;Am I doing something wrong? &lt;BR /&gt; &lt;BR /&gt;Thanks, &lt;BR /&gt;David &lt;BR /&gt;   &lt;BR /&gt;iret=SendMessage(hMinE,EM_LIMITTEXT,12,0) &lt;BR /&gt;c13='       0.000'c &lt;BR /&gt;iret=SendMessage(hMinE,WM_SETTEXT,0,loc(c13))</description>
      <pubDate>Tue, 02 Oct 2001 16:51:08 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/problem-with-edit-box-EM-LIMITTEXT/m-p/968319#M23388</guid>
      <dc:creator>davidgraham</dc:creator>
      <dc:date>2001-10-02T16:51:08Z</dc:date>
    </item>
  </channel>
</rss>

