<?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[GetDlgItemText,Array]]></title><description><![CDATA[<p>Hallo,<br />
ich würde gerne mit GetDlgItemText direkt ein CStringArray füllen.<br />
Ich kriege es leider nicht hin.</p>
<p>So füge ich strings in ein array ein.<br />
GetDlgItemText(1010,m_sp1hilfe);<br />
textspalte1array.SetAt(0,m_sp1hilfe);</p>
<p>Geht es nicht auch anders<br />
GetDlgItemText(1010,textspalte1array.SetAt(0, ??????);</p>
<p>ich hoffe es ist verständlich.wäre nett,wenn jemand helfen könnte.</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/5673/getdlgitemtext-array</link><generator>RSS for Node</generator><lastBuildDate>Sun, 12 Apr 2026 06:37:33 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/5673.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 03 May 2003 12:05:00 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to GetDlgItemText,Array on Sat, 03 May 2003 12:05:00 GMT]]></title><description><![CDATA[<p>Hallo,<br />
ich würde gerne mit GetDlgItemText direkt ein CStringArray füllen.<br />
Ich kriege es leider nicht hin.</p>
<p>So füge ich strings in ein array ein.<br />
GetDlgItemText(1010,m_sp1hilfe);<br />
textspalte1array.SetAt(0,m_sp1hilfe);</p>
<p>Geht es nicht auch anders<br />
GetDlgItemText(1010,textspalte1array.SetAt(0, ??????);</p>
<p>ich hoffe es ist verständlich.wäre nett,wenn jemand helfen könnte.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/27615</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/27615</guid><dc:creator><![CDATA[WoWo]]></dc:creator><pubDate>Sat, 03 May 2003 12:05:00 GMT</pubDate></item><item><title><![CDATA[Reply to GetDlgItemText,Array on Sat, 03 May 2003 13:21:00 GMT]]></title><description><![CDATA[<p>Ne, geht natürlich net, wie auch?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/27616</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/27616</guid><dc:creator><![CDATA[dEUs]]></dc:creator><pubDate>Sat, 03 May 2003 13:21:00 GMT</pubDate></item><item><title><![CDATA[Reply to GetDlgItemText,Array on Mon, 05 May 2003 13:09:00 GMT]]></title><description><![CDATA[<p>CStringArray arData;arData.SetSize(1024);<br />
UINT uiTextLength = GetDlgItemText(this-&gt;GetSafeHwnd(),IDC_EDIT1,arData.GetData(),1023);<br />
if(uiTextLength &gt;1024)<br />
{<br />
arData.SetSize(uiTextLength+1);<br />
GetDlgItemText(this-&gt;GetSafeHwnd(),IDC_EDIT1,arData.GetData(),uiTextLength);</p>
<p>}</p>
<p>Sollte so gehen. Habs nicht probiert. Nur mal kurz durchdacht.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/27617</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/27617</guid><dc:creator><![CDATA[Frank ll]]></dc:creator><pubDate>Mon, 05 May 2003 13:09:00 GMT</pubDate></item><item><title><![CDATA[Reply to GetDlgItemText,Array on Mon, 05 May 2003 13:15:00 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-user plugin-mentions-a" href="https://www.c-plusplus.net/forum/uid/34969">@Frank</a> II<br />
Davon abgesehen, dass der Code gar nicht hierher passt ist er auch noch völlig unlogisch!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/27618</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/27618</guid><dc:creator><![CDATA[RenéG]]></dc:creator><pubDate>Mon, 05 May 2003 13:15:00 GMT</pubDate></item><item><title><![CDATA[Reply to GetDlgItemText,Array on Mon, 05 May 2003 13:21:00 GMT]]></title><description><![CDATA[<p>@ReneG : Hallo,<br />
ich würde gerne mit GetDlgItemText direkt ein CStringArray füllen.<br />
Ich kriege es leider nicht hin.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/27619</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/27619</guid><dc:creator><![CDATA[Frank ll]]></dc:creator><pubDate>Mon, 05 May 2003 13:21:00 GMT</pubDate></item><item><title><![CDATA[Reply to GetDlgItemText,Array on Mon, 05 May 2003 14:46:00 GMT]]></title><description><![CDATA[<pre><code class="language-cpp">CStringArray ar;
ar.SetSize( 10);
GetDlgItemText( IDC_EDIT1, ar[2]);
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/27620</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/27620</guid><dc:creator><![CDATA[RenéG]]></dc:creator><pubDate>Mon, 05 May 2003 14:46:00 GMT</pubDate></item></channel></rss>