<?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[TImageList-&amp;gt;Draw()]]></title><description><![CDATA[<p>Hi,</p>
<p>ich hab jetzt mal versucht, eine TImageList zu benutzen.<br />
Funktioniert auch wunderbar mit der Methode Draw(),<br />
aber nur, wenn ich sie im FormCreate benutze.<br />
Das hier funktioniert nicht:</p>
<pre><code class="language-cpp">void __fastcall TForm1::FormKeyDown(TObject *Sender, WORD &amp;Key,
	TShiftState Shift)
{
 if (Key == 65 || Key == 37)  //nach links
 {
  vplx = max (0,vplx - vplspeed);
  il1-&gt;Draw(ima-&gt;Canvas,vplx,300,1);
 }
}
</code></pre>
<p>(il1 ist die ImageList, ima ein TImage)</p>
<p>Aber Warum?</p>
<p>mfg<br />
Jakel</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/188637/timagelist-gt-draw</link><generator>RSS for Node</generator><lastBuildDate>Mon, 17 Aug 2026 02:57:18 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/188637.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 02 Aug 2007 14:28:45 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to TImageList-&amp;gt;Draw() on Thu, 02 Aug 2007 14:32:02 GMT]]></title><description><![CDATA[<p>Hi,</p>
<p>ich hab jetzt mal versucht, eine TImageList zu benutzen.<br />
Funktioniert auch wunderbar mit der Methode Draw(),<br />
aber nur, wenn ich sie im FormCreate benutze.<br />
Das hier funktioniert nicht:</p>
<pre><code class="language-cpp">void __fastcall TForm1::FormKeyDown(TObject *Sender, WORD &amp;Key,
	TShiftState Shift)
{
 if (Key == 65 || Key == 37)  //nach links
 {
  vplx = max (0,vplx - vplspeed);
  il1-&gt;Draw(ima-&gt;Canvas,vplx,300,1);
 }
}
</code></pre>
<p>(il1 ist die ImageList, ima ein TImage)</p>
<p>Aber Warum?</p>
<p>mfg<br />
Jakel</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1337386</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1337386</guid><dc:creator><![CDATA[Jakel]]></dc:creator><pubDate>Thu, 02 Aug 2007 14:32:02 GMT</pubDate></item><item><title><![CDATA[Reply to TImageList-&amp;gt;Draw() on Thu, 02 Aug 2007 14:39:15 GMT]]></title><description><![CDATA[<p>Hallo</p>
<p>Benutze den Debugger um festzustellen ob<br />
- Der Event überhaupt ausgelöst wird<br />
- Welche Werte vplx und vplspeed beim Aufruf haben</p>
<p>bis bald<br />
akari</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1337394</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1337394</guid><dc:creator><![CDATA[akari]]></dc:creator><pubDate>Thu, 02 Aug 2007 14:39:15 GMT</pubDate></item><item><title><![CDATA[Reply to TImageList-&amp;gt;Draw() on Fri, 03 Aug 2007 11:08:19 GMT]]></title><description><![CDATA[<p>Hi,</p>
<p>Hab ich bereits getan.<br />
vplx hat den Wert 185 zu Anfang, also danach 184.<br />
Das Image ima ist 400 Pixel lang, das sollte also kein Problem sein.<br />
Ich habe auch bereits überprüft ob das Event ausgelöst wird, und es wird ordnungsgemäß ausgeführt.</p>
<p>mfg<br />
Jakel</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1338036</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1338036</guid><dc:creator><![CDATA[Jakel]]></dc:creator><pubDate>Fri, 03 Aug 2007 11:08:19 GMT</pubDate></item><item><title><![CDATA[Reply to TImageList-&amp;gt;Draw() on Sun, 02 Sep 2007 12:39:32 GMT]]></title><description><![CDATA[<p>Jetzt is mir durch Zufall was aufgefallen.<br />
Wenn ich das Event auslöse, mit Alt+Tab eine andere Anwendung anwähle und dann wieder das Programm, dann zeichnet er es.<br />
Brauch ich da vielleicht sowas wie eine Refresh() Methode?</p>
<p>mfg<br />
Jakel</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1338051</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1338051</guid><dc:creator><![CDATA[Jakel]]></dc:creator><pubDate>Sun, 02 Sep 2007 12:39:32 GMT</pubDate></item></channel></rss>