<?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[Prüfen ob in TImage ein Bild geladen wurde]]></title><description><![CDATA[<p>Hallo zusammen,</p>
<p>ich hoffe mein Titel ist verständlich. Ich habe ein TImage, in welches erst zur Laufzeit verschiedene Bilder geladen werden.<br />
Ich wüßte jetzt gerne, wie ich zur Laufzeit abfragen kann, ob bereits ein Bild geladen ist, oder im in meinem TImage noch kein Bild vorhanden ist.</p>
<p>Ich hatte ungefähr an sowas gedacht:</p>
<pre><code class="language-cpp">if(Image-&gt;Pictue==NULL)
  //es ist kein Bild geladen
else
  //es ist ein Bild geladen
</code></pre>
<p>...aber das funktioniert leider nicht.</p>
<p>Gruß Kiki</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/159922/prüfen-ob-in-timage-ein-bild-geladen-wurde</link><generator>RSS for Node</generator><lastBuildDate>Tue, 11 Aug 2026 03:38:56 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/159922.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 20 Sep 2006 08:36:52 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Prüfen ob in TImage ein Bild geladen wurde on Wed, 20 Sep 2006 08:37:29 GMT]]></title><description><![CDATA[<p>Hallo zusammen,</p>
<p>ich hoffe mein Titel ist verständlich. Ich habe ein TImage, in welches erst zur Laufzeit verschiedene Bilder geladen werden.<br />
Ich wüßte jetzt gerne, wie ich zur Laufzeit abfragen kann, ob bereits ein Bild geladen ist, oder im in meinem TImage noch kein Bild vorhanden ist.</p>
<p>Ich hatte ungefähr an sowas gedacht:</p>
<pre><code class="language-cpp">if(Image-&gt;Pictue==NULL)
  //es ist kein Bild geladen
else
  //es ist ein Bild geladen
</code></pre>
<p>...aber das funktioniert leider nicht.</p>
<p>Gruß Kiki</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1140887</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1140887</guid><dc:creator><![CDATA[kiki_666]]></dc:creator><pubDate>Wed, 20 Sep 2006 08:37:29 GMT</pubDate></item><item><title><![CDATA[Reply to Prüfen ob in TImage ein Bild geladen wurde on Wed, 20 Sep 2006 08:49:11 GMT]]></title><description><![CDATA[<p>Hallo</p>
<p>entweder du merkst dir den Ladezustand unabhängig in einer extra Variable, oder du vergleichst Höhe und Breite von <em>Image-&gt;Picture-&gt;Bitmap</em>, ob diese größer 0 sind.</p>
<p>bis bald<br />
akari</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1140898</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1140898</guid><dc:creator><![CDATA[akari]]></dc:creator><pubDate>Wed, 20 Sep 2006 08:49:11 GMT</pubDate></item><item><title><![CDATA[Reply to Prüfen ob in TImage ein Bild geladen wurde on Wed, 20 Sep 2006 08:52:01 GMT]]></title><description><![CDATA[<p>Oder versuch es mal so:</p>
<pre><code class="language-cpp">if (Image1-&gt;Picture-&gt;Graphic == NULL || Image1-&gt;Picture-&gt;Bitmap-&gt;Handle == NULL)
</code></pre>
<p>Sollte auch funktionieren.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1140903</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1140903</guid><dc:creator><![CDATA[[[global:guest]]]]></dc:creator><pubDate>Wed, 20 Sep 2006 08:52:01 GMT</pubDate></item><item><title><![CDATA[Reply to Prüfen ob in TImage ein Bild geladen wurde on Wed, 20 Sep 2006 09:16:42 GMT]]></title><description><![CDATA[<p>danke, hat wunderbar gefunzt.<br />
Gruß Kiki</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1140930</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1140930</guid><dc:creator><![CDATA[kiki_666]]></dc:creator><pubDate>Wed, 20 Sep 2006 09:16:42 GMT</pubDate></item></channel></rss>