<?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[Bmp anzeigen]]></title><description><![CDATA[<p>hi leute<br />
hab mal wieder ein kleines problem.<br />
Wie kann ich eigentlich ein Bmp bei einer Dialogfeldanwendungen irgendwohin platzieren ( also net vorher, sondern z.B. wenn jemand auf nen Button klickt, das dann das Bmp an einer bestimmten position angezeigt wird).</p>
<p>Ist wahrscheinlich einfach, wenn man weiß wie,</p>
<p>Danke</p>
<p>Alexander</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/64268/bmp-anzeigen</link><generator>RSS for Node</generator><lastBuildDate>Thu, 04 Jun 2026 19:26:28 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/64268.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 09 Feb 2004 14:36:29 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Bmp anzeigen on Mon, 09 Feb 2004 14:36:29 GMT]]></title><description><![CDATA[<p>hi leute<br />
hab mal wieder ein kleines problem.<br />
Wie kann ich eigentlich ein Bmp bei einer Dialogfeldanwendungen irgendwohin platzieren ( also net vorher, sondern z.B. wenn jemand auf nen Button klickt, das dann das Bmp an einer bestimmten position angezeigt wird).</p>
<p>Ist wahrscheinlich einfach, wenn man weiß wie,</p>
<p>Danke</p>
<p>Alexander</p>
]]></description><link>https://www.c-plusplus.net/forum/post/455175</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/455175</guid><dc:creator><![CDATA[MasterofBuuh]]></dc:creator><pubDate>Mon, 09 Feb 2004 14:36:29 GMT</pubDate></item><item><title><![CDATA[Reply to Bmp anzeigen on Mon, 09 Feb 2004 14:40:31 GMT]]></title><description><![CDATA[<p>Hi<br />
Entweder du verwendest ein CStatic und zeigst es bei einem Klick auf den Button an (ShowWindow) oder du malst das Bitmap in OnPaint selber auf den Dialog (CPaintDC, CBitmap,...).</p>
<p>Grüße Rapha</p>
]]></description><link>https://www.c-plusplus.net/forum/post/455180</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/455180</guid><dc:creator><![CDATA[Rapha]]></dc:creator><pubDate>Mon, 09 Feb 2004 14:40:31 GMT</pubDate></item><item><title><![CDATA[Reply to Bmp anzeigen on Mon, 09 Feb 2004 15:15:37 GMT]]></title><description><![CDATA[<p>Hi,<br />
hab da auch ne kleine Lösung: Mit Klassenassi ein CStatic auf ein Picture, z.B. m_Bild</p>
<pre><code class="language-cpp">void DeineKlasse::Bildzeichnen()
{
	int size = 98;//Größe des Bitmaps
	CBitmap bitmap;
	bitmap.Attach(LoadImage(NULL,&quot;c:/Eigene Dateien/...&quot;,IMAGE_BITMAP,size,size,LR_LOADFROMFILE|LR_DEFAULTCOLOR|LR_DEFAULTSIZE));//Lädt Bitmap aus nem Verzeichniss
	m_Bild.SetBitmap(bitmap);
       OnPaint();
}
</code></pre>
<p>In OnPaint hab ich das so gemacht</p>
<pre><code class="language-cpp">if(m_Bild.GetBitmap() != 0)
	{
		Bildzeichnen();
	}
</code></pre>
<p>Damit kannst Überprüfen ob das Bitmap drin ist, wenn == 0 dann ist es halt leer <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f60b.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--face_savoring_food"
      title=":yum:"
      alt="😋"
    /><br />
So also vieleicht hilft dir das etwas <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f603.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--grinning_face_with_big_eyes"
      title=":D"
      alt="😃"
    /> , wenn noch fragen hast schreib einfach <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f609.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--winking_face"
      title=";)"
      alt="😉"
    /></p>
<p>mfg blub <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f615.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--confused_face"
      title=":confused:"
      alt="😕"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/455228</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/455228</guid><dc:creator><![CDATA[blub]]></dc:creator><pubDate>Mon, 09 Feb 2004 15:15:37 GMT</pubDate></item><item><title><![CDATA[Reply to Bmp anzeigen on Mon, 09 Feb 2004 16:59:46 GMT]]></title><description><![CDATA[<p>Jetzt bekomme ich den fehler, 'm_Bild' : nichtdeklarierter Bezeichner</p>
<p>und das die linken teile von den<br />
GetBitmap'<br />
SetBitmap'<br />
ne klasse oder structur sein muss</p>
]]></description><link>https://www.c-plusplus.net/forum/post/455348</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/455348</guid><dc:creator><![CDATA[MasterofBuuh]]></dc:creator><pubDate>Mon, 09 Feb 2004 16:59:46 GMT</pubDate></item><item><title><![CDATA[Reply to Bmp anzeigen on Mon, 09 Feb 2004 17:03:31 GMT]]></title><description><![CDATA[<p>Hi</p>
<p>du musst m_Bild natürlich als Membervariable vom Typ CBitmap in deiner Dialog Klasse anlegen <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f609.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--winking_face"
      title=";)"
      alt="😉"
    /></p>
<p>Grüße Rapha</p>
]]></description><link>https://www.c-plusplus.net/forum/post/455352</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/455352</guid><dc:creator><![CDATA[Rapha]]></dc:creator><pubDate>Mon, 09 Feb 2004 17:03:31 GMT</pubDate></item><item><title><![CDATA[Reply to Bmp anzeigen on Mon, 09 Feb 2004 19:38:42 GMT]]></title><description><![CDATA[<p>Hi,</p>
<p>jup, und es sollte sich auch auf etwas beziehen, also ich hab mein Bitmaps mit diesem Picture-Dingens dargestellt, in den Eigenschaften auf Bitmap stellen, nicht vergessen <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f609.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--winking_face"
      title=";)"
      alt="😉"
    /> , und m_Bild kann auch CStatic sein <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f603.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--grinning_face_with_big_eyes"
      title=":D"
      alt="😃"
    /> das enthält auch setBitmap und getBitmap</p>
<p>mfg blub <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f615.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--confused_face"
      title=":confused:"
      alt="😕"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/455499</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/455499</guid><dc:creator><![CDATA[blub]]></dc:creator><pubDate>Mon, 09 Feb 2004 19:38:42 GMT</pubDate></item></channel></rss>