<?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[int-Zahl in LPCTSTR umwandeln?]]></title><description><![CDATA[<p>Hallo zusammen,</p>
<p>ich möchte in einer Schleife, den Schleifendurchlauf mit DrawText ausgeben (siehe Code).</p>
<pre><code class="language-cpp">int DrawText(HDC hDC, LPCTSTR lpString, int nCount, LPRECT lpRect, UNIT uFormat);
</code></pre>
<pre><code class="language-cpp">int i;
for (i=0;i&lt;x;i++)
{
DrawText(hDC, ????i????, -1, rect, DT_CENTER|DT_LEFT);
}
</code></pre>
<p>Wie Ihr sehen könnt ist das Problem, dass ich nicht weiss, wie ich i in LPCTSTR überführen kann.</p>
<p>Wer weiss wie es gemacht wird?</p>
<p>Gruß<br />
spacehelix</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/152453/int-zahl-in-lpctstr-umwandeln</link><generator>RSS for Node</generator><lastBuildDate>Wed, 22 Jul 2026 15:06:14 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/152453.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 06 Jul 2006 12:33:21 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to int-Zahl in LPCTSTR umwandeln? on Thu, 06 Jul 2006 12:33:21 GMT]]></title><description><![CDATA[<p>Hallo zusammen,</p>
<p>ich möchte in einer Schleife, den Schleifendurchlauf mit DrawText ausgeben (siehe Code).</p>
<pre><code class="language-cpp">int DrawText(HDC hDC, LPCTSTR lpString, int nCount, LPRECT lpRect, UNIT uFormat);
</code></pre>
<pre><code class="language-cpp">int i;
for (i=0;i&lt;x;i++)
{
DrawText(hDC, ????i????, -1, rect, DT_CENTER|DT_LEFT);
}
</code></pre>
<p>Wie Ihr sehen könnt ist das Problem, dass ich nicht weiss, wie ich i in LPCTSTR überführen kann.</p>
<p>Wer weiss wie es gemacht wird?</p>
<p>Gruß<br />
spacehelix</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1092457</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1092457</guid><dc:creator><![CDATA[spacehelix]]></dc:creator><pubDate>Thu, 06 Jul 2006 12:33:21 GMT</pubDate></item><item><title><![CDATA[Reply to int-Zahl in LPCTSTR umwandeln? on Thu, 06 Jul 2006 12:37:34 GMT]]></title><description><![CDATA[<p><a href="http://forums.microsoft.com/msdn/showpost.aspx?postid=113317&amp;siteid=1" rel="nofollow">http://forums.microsoft.com/msdn/showpost.aspx?postid=113317&amp;siteid=1</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1092462</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1092462</guid><dc:creator><![CDATA[THX 1138]]></dc:creator><pubDate>Thu, 06 Jul 2006 12:37:34 GMT</pubDate></item><item><title><![CDATA[Reply to int-Zahl in LPCTSTR umwandeln? on Thu, 06 Jul 2006 12:55:01 GMT]]></title><description><![CDATA[<p>Danke für die Hilfe, es funktionirt jetzt.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1092481</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1092481</guid><dc:creator><![CDATA[spacehelix]]></dc:creator><pubDate>Thu, 06 Jul 2006 12:55:01 GMT</pubDate></item></channel></rss>