<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[CEdit Tabulator]]></title><description><![CDATA[<p>pEBText = new CEdit;<br />
pEBText-&gt;Create(ES_MULTILINE | ES_CENTER | WS_CHILD | WS_VISIBLE | WS_TABSTOP, CRect(26, iMouseTextDown+41, 110, iMouseTextDown+15+40), this, IDC_EB_TEXT);</p>
<p>Ich erzeuge mir mit obigen code selbst ein CEdit - Feld. Nun habe ich folgendes Problem.<br />
Im OnChange-Event werte ich auch, ob eine Tabulator gedrückt wurde<br />
pEBText-&gt;GetWindowText(strText);<br />
i=strText.Find(&quot;\t&quot;); //Tabulator</p>
<p>Nun habe ich folgendes Problem. Ist im Feld ein Text eingeben und dieser Markiert (blau hinterlegt) und drückt man dan den Tabulator, so wird anscheinend von MFC der Text gelöscht (bevor das ONChange-Event ausgelöst wird) und die Funktion GetWindowText liefert einen Leer-String zurück.</p>
<p>DANKE für jede Hilfe.</p>
<p>mfG<br />
Martin</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/73452/cedit-tabulator</link><generator>RSS for Node</generator><lastBuildDate>Mon, 27 Apr 2026 06:20:13 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/73452.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 10 May 2004 13:38:21 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to CEdit Tabulator on Mon, 10 May 2004 13:38:21 GMT]]></title><description><![CDATA[<p>pEBText = new CEdit;<br />
pEBText-&gt;Create(ES_MULTILINE | ES_CENTER | WS_CHILD | WS_VISIBLE | WS_TABSTOP, CRect(26, iMouseTextDown+41, 110, iMouseTextDown+15+40), this, IDC_EB_TEXT);</p>
<p>Ich erzeuge mir mit obigen code selbst ein CEdit - Feld. Nun habe ich folgendes Problem.<br />
Im OnChange-Event werte ich auch, ob eine Tabulator gedrückt wurde<br />
pEBText-&gt;GetWindowText(strText);<br />
i=strText.Find(&quot;\t&quot;); //Tabulator</p>
<p>Nun habe ich folgendes Problem. Ist im Feld ein Text eingeben und dieser Markiert (blau hinterlegt) und drückt man dan den Tabulator, so wird anscheinend von MFC der Text gelöscht (bevor das ONChange-Event ausgelöst wird) und die Funktion GetWindowText liefert einen Leer-String zurück.</p>
<p>DANKE für jede Hilfe.</p>
<p>mfG<br />
Martin</p>
]]></description><link>https://www.c-plusplus.net/forum/post/517588</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/517588</guid><dc:creator><![CDATA[Martin3110]]></dc:creator><pubDate>Mon, 10 May 2004 13:38:21 GMT</pubDate></item></channel></rss>