<?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[dialog-hintergrund]]></title><description><![CDATA[<p>ich hab nen haufen standard-dialoge und will da jetzt nachträglich nen hintergrund einfügen (bitmap oder was auch immer) weiß einer wie das geht? ich kann nämlich nirgends eine option hintergrund finden (vs .net)</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/80930/dialog-hintergrund</link><generator>RSS for Node</generator><lastBuildDate>Tue, 14 Apr 2026 07:36:30 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/80930.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 26 Jul 2004 13:17:49 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to dialog-hintergrund on Mon, 26 Jul 2004 13:17:49 GMT]]></title><description><![CDATA[<p>ich hab nen haufen standard-dialoge und will da jetzt nachträglich nen hintergrund einfügen (bitmap oder was auch immer) weiß einer wie das geht? ich kann nämlich nirgends eine option hintergrund finden (vs .net)</p>
]]></description><link>https://www.c-plusplus.net/forum/post/568505</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/568505</guid><dc:creator><![CDATA[- enForcer -]]></dc:creator><pubDate>Mon, 26 Jul 2004 13:17:49 GMT</pubDate></item><item><title><![CDATA[Reply to dialog-hintergrund on Mon, 26 Jul 2004 13:49:23 GMT]]></title><description><![CDATA[<p>hier</p>
<p><a href="http://www.codeguru.com/Cpp/W-D/dislog/bitmapsimages/article.php/c1877/" rel="nofollow">http://www.codeguru.com/Cpp/W-D/dislog/bitmapsimages/article.php/c1877/</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/568556</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/568556</guid><dc:creator><![CDATA[[[global:guest]]]]></dc:creator><pubDate>Mon, 26 Jul 2004 13:49:23 GMT</pubDate></item><item><title><![CDATA[Reply to dialog-hintergrund on Mon, 26 Jul 2004 13:53:25 GMT]]></title><description><![CDATA[<p>Das müsste so gehen, einfach in die Onpaint reinschreiben :</p>
<pre><code>CDC* pDC = GetDC();
		CBitmap bitmap;
		bitmap.LoadBitmap(ID_DEINER_RESOURCE);
		CDC dc;
		CRect rect;

		GetClientRect(rect);
		BITMAP bm;
		bitmap.GetBitmap(&amp;bm);
		dc.CreateCompatibleDC(pDC);
		dc.SelectObject(bitmap);

		pDC-&gt;StretchBlt(0,0,rect.Width(), rect.Height(),&amp;dc,0,0, bm.bmWidth, bm.bmHeight, SRCCOPY);
</code></pre>
<p>Gruß<br />
:: NoName ::</p>
]]></description><link>https://www.c-plusplus.net/forum/post/568565</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/568565</guid><dc:creator><![CDATA[__NoName__]]></dc:creator><pubDate>Mon, 26 Jul 2004 13:53:25 GMT</pubDate></item><item><title><![CDATA[Reply to dialog-hintergrund on Mon, 26 Jul 2004 22:16:04 GMT]]></title><description><![CDATA[<p>Danke noname wieder einmal.<br />
Aber wenn ein Fenster über mein Porgramfenster kommt dann verschwindet der hintergrund.<br />
Was muss ich machen damit das immer gezeichnet wird egal was passiert?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/569003</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/569003</guid><dc:creator><![CDATA[iZo]]></dc:creator><pubDate>Mon, 26 Jul 2004 22:16:04 GMT</pubDate></item><item><title><![CDATA[Reply to dialog-hintergrund on Mon, 26 Jul 2004 22:49:50 GMT]]></title><description><![CDATA[<p>einfach in picture control erstellen und es unter die controls legen. am einfachsten ist das mit strg+d. dann kann man die tabreihenfolge festlegen. einfach das bild als erstes und danach alle anderen. sollte dann gehen.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/569015</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/569015</guid><dc:creator><![CDATA[jeykopp]]></dc:creator><pubDate>Mon, 26 Jul 2004 22:49:50 GMT</pubDate></item><item><title><![CDATA[Reply to dialog-hintergrund on Mon, 26 Jul 2004 22:53:48 GMT]]></title><description><![CDATA[<p>Hmm, sorry, aber ich verstehe nicht was du meinst, kannst du es nicht so ausführlich machen wie der :: No Name :: ? Bitte</p>
]]></description><link>https://www.c-plusplus.net/forum/post/569017</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/569017</guid><dc:creator><![CDATA[iZo]]></dc:creator><pubDate>Mon, 26 Jul 2004 22:53:48 GMT</pubDate></item><item><title><![CDATA[Reply to dialog-hintergrund on Mon, 26 Jul 2004 23:03:43 GMT]]></title><description><![CDATA[<p>ressourcen editor -&gt; Bitmap einfügen (hast du wahrscheinlich schon)<br />
dialog editor -&gt; rechts (toolbox) Picture control auswählen -&gt; in dialog ertsellen -&gt; so groß wie dialog machen -&gt; eigenschaften -&gt; typ entsprechend einstellen (z.b. bitmap) -&gt; ressourcen ID vom bitmap bei &quot;Bild&quot; eingeben/auswählen -&gt; strg+d Drücken -&gt; jetzt erscheinen zahlen für jedes control -&gt; auf die zahl vom picturecontrol klicken (sollte die größte sein) -&gt; jetzt sollten wenn du irgendwo neben den dialog klickst (tabeinstellung verlassen) alle controls sich durch das bild &quot;scheiden&quot;</p>
]]></description><link>https://www.c-plusplus.net/forum/post/569021</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/569021</guid><dc:creator><![CDATA[jeykopp]]></dc:creator><pubDate>Mon, 26 Jul 2004 23:03:43 GMT</pubDate></item><item><title><![CDATA[Reply to dialog-hintergrund on Tue, 27 Jul 2004 08:34:28 GMT]]></title><description><![CDATA[<p>Hi,</p>
<p>das mit dem Picturecontrol ist auch eine Lösung, aber im o.g.<br />
Beispiel wird das Bild ja über den gesamten Dialog gelegt, egal<br />
wie groß das Bild nun ist.<br />
Das macht besonders bei Texturen Sinn.</p>
<p>iZo will wohl nur noch dass OnPaint() immer wieder aufgerufen wird,<br />
damit der Dialog nicht wieder Standardfarben bekommt, wenn ein anderes<br />
Fenster den Fokus bekommt und seinen Dialog dabei gleichzeitig überlagert ?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/569175</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/569175</guid><dc:creator><![CDATA[Chris1986x]]></dc:creator><pubDate>Tue, 27 Jul 2004 08:34:28 GMT</pubDate></item><item><title><![CDATA[Reply to dialog-hintergrund on Tue, 27 Jul 2004 11:44:07 GMT]]></title><description><![CDATA[<p>Hmm, dass das Bild verschwindet liegt wahrscheinlich daran, dass du es immer wieder neu zeichnen musst !</p>
<p>Gruß<br />
:: NoName ::</p>
]]></description><link>https://www.c-plusplus.net/forum/post/569352</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/569352</guid><dc:creator><![CDATA[__NoName__]]></dc:creator><pubDate>Tue, 27 Jul 2004 11:44:07 GMT</pubDate></item><item><title><![CDATA[Reply to dialog-hintergrund on Tue, 27 Jul 2004 23:41:45 GMT]]></title><description><![CDATA[<p>Ja genau ihr letzen Beiden, was kann ich da machen, wie rufe ich die OnPaint methode immer wieder auf wenn so etwas passiert?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/569975</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/569975</guid><dc:creator><![CDATA[iZo]]></dc:creator><pubDate>Tue, 27 Jul 2004 23:41:45 GMT</pubDate></item><item><title><![CDATA[Reply to dialog-hintergrund on Wed, 28 Jul 2004 22:03:17 GMT]]></title><description><![CDATA[<p>Bitte bring mir das bei!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/570619</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/570619</guid><dc:creator><![CDATA[iZo]]></dc:creator><pubDate>Wed, 28 Jul 2004 22:03:17 GMT</pubDate></item><item><title><![CDATA[Reply to dialog-hintergrund on Thu, 29 Jul 2004 07:52:21 GMT]]></title><description><![CDATA[<p>jeykopp schrieb:</p>
<blockquote>
<p>ressourcen editor -&gt; Bitmap einfügen (hast du wahrscheinlich schon)<br />
dialog editor -&gt; rechts (toolbox) Picture control auswählen -&gt; in dialog ertsellen -&gt; so groß wie dialog machen -&gt; eigenschaften -&gt; typ entsprechend einstellen (z.b. bitmap) -&gt; ressourcen ID vom bitmap bei &quot;Bild&quot; eingeben/auswählen -&gt; strg+d Drücken -&gt; jetzt erscheinen zahlen für jedes control -&gt; auf die zahl vom picturecontrol klicken (sollte die größte sein) -&gt; jetzt sollten wenn du irgendwo neben den dialog klickst (tabeinstellung verlassen) alle controls sich durch das bild &quot;scheiden&quot;</p>
</blockquote>
<p>... ich habs mit dieser Methode versucht da sie die wohl schnellste ist. Ich hab aber das Problem, dass bei dir die Farben verhauen werden. Heißt sie werden falsch dargestellt.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/570701</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/570701</guid><dc:creator><![CDATA[::Gast::]]></dc:creator><pubDate>Thu, 29 Jul 2004 07:52:21 GMT</pubDate></item><item><title><![CDATA[Reply to dialog-hintergrund on Thu, 29 Jul 2004 08:24:12 GMT]]></title><description><![CDATA[<p>soll heißen der der Bitmap Editor des Visual Studios kann nur Bilder mit bis zu 265 Farben bearbeiten. Wie kann das denn umgehen wenn ich bmp mit mehr Farben verwenden möchte ? Kann ich da irgendwie direkt auf eine Datei verweißen ?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/570717</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/570717</guid><dc:creator><![CDATA[::Gast::]]></dc:creator><pubDate>Thu, 29 Jul 2004 08:24:12 GMT</pubDate></item><item><title><![CDATA[Reply to dialog-hintergrund on Thu, 29 Jul 2004 22:29:30 GMT]]></title><description><![CDATA[<p>also bei mir ist das kein problem. da geht true color. ich hab einfach ein bmp erzeugt, und das dann als resource eingebunden. ging ohne probleme (VS 2003)</p>
]]></description><link>https://www.c-plusplus.net/forum/post/571283</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/571283</guid><dc:creator><![CDATA[jeykopp]]></dc:creator><pubDate>Thu, 29 Jul 2004 22:29:30 GMT</pubDate></item><item><title><![CDATA[Reply to dialog-hintergrund on Fri, 30 Jul 2004 08:20:27 GMT]]></title><description><![CDATA[<p>hm naja ich benutze VS 98. Vielleicht hat sich das bis 2003 geändert. Naja trotzdem danke.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/571399</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/571399</guid><dc:creator><![CDATA[::Gast::]]></dc:creator><pubDate>Fri, 30 Jul 2004 08:20:27 GMT</pubDate></item><item><title><![CDATA[Reply to dialog-hintergrund on Fri, 30 Jul 2004 08:28:12 GMT]]></title><description><![CDATA[<p>Hat sich erledigt. Bin drauf gekommen. Danke für die Hilfe</p>
]]></description><link>https://www.c-plusplus.net/forum/post/571407</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/571407</guid><dc:creator><![CDATA[::Gast::]]></dc:creator><pubDate>Fri, 30 Jul 2004 08:28:12 GMT</pubDate></item></channel></rss>