<?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[Bitmap-Ressource wird erst nach resize vom Fenster angezeigt]]></title><description><![CDATA[<p>Ich habe eine Bitmap als Hintergundbild in mein Programm geladen, welches allerdings erst erscheint, wenn man die Größe des Fensters ändert. Habe mit <code>UpdateWindow()</code> , <code>InvalidateRect()</code> und Konsorten versucht, eine <code>WM_PAINT</code> Nachricht zu schicken, vergebens. Was mache ich falsch?</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/271061/bitmap-ressource-wird-erst-nach-resize-vom-fenster-angezeigt</link><generator>RSS for Node</generator><lastBuildDate>Sat, 29 Aug 2026 17:04:36 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/271061.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 22 Jul 2010 17:26:41 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Bitmap-Ressource wird erst nach resize vom Fenster angezeigt on Thu, 22 Jul 2010 17:26:41 GMT]]></title><description><![CDATA[<p>Ich habe eine Bitmap als Hintergundbild in mein Programm geladen, welches allerdings erst erscheint, wenn man die Größe des Fensters ändert. Habe mit <code>UpdateWindow()</code> , <code>InvalidateRect()</code> und Konsorten versucht, eine <code>WM_PAINT</code> Nachricht zu schicken, vergebens. Was mache ich falsch?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1930195</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1930195</guid><dc:creator><![CDATA[skullyan]]></dc:creator><pubDate>Thu, 22 Jul 2010 17:26:41 GMT</pubDate></item><item><title><![CDATA[Reply to Bitmap-Ressource wird erst nach resize vom Fenster angezeigt on Thu, 22 Jul 2010 17:31:13 GMT]]></title><description><![CDATA[<p>Zeig pls mal deinen Code</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1930196</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1930196</guid><dc:creator><![CDATA[player4245]]></dc:creator><pubDate>Thu, 22 Jul 2010 17:31:13 GMT</pubDate></item><item><title><![CDATA[Reply to Bitmap-Ressource wird erst nach resize vom Fenster angezeigt on Thu, 22 Jul 2010 17:33:33 GMT]]></title><description><![CDATA[<pre><code class="language-cpp">case WM_PAINT:
		hdc = BeginPaint (hwnd, &amp;ps);
			// Load the bitmap from the resource
		bmpExercising = LoadBitmap(hIn, MAKEINTRESOURCE(IDB_BITMAP1));

		// Create a memory device compatible with the above DC variable
		MemDCExercising = CreateCompatibleDC(hdc);
		// Select the new bitmap
		SelectObject(MemDCExercising, bmpExercising);

		// Copy the bits from the memory DC into the current dc
		BitBlt(hdc, 0, 0, 450, 400, MemDCExercising, 0, 0, SRCCOPY);

		// Restore the old bitmap
		DeleteDC(MemDCExercising);
		DeleteObject(bmpExercising);
		EndPaint (hwnd, &amp;ps);
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1930197</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1930197</guid><dc:creator><![CDATA[skullyan]]></dc:creator><pubDate>Thu, 22 Jul 2010 17:33:33 GMT</pubDate></item><item><title><![CDATA[Reply to Bitmap-Ressource wird erst nach resize vom Fenster angezeigt on Thu, 22 Jul 2010 17:46:19 GMT]]></title><description><![CDATA[<p>Das ist WinAPI und hat hier gar nichts zu suchen.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1930201</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1930201</guid><dc:creator><![CDATA[yyyy]]></dc:creator><pubDate>Thu, 22 Jul 2010 17:46:19 GMT</pubDate></item><item><title><![CDATA[Reply to Bitmap-Ressource wird erst nach resize vom Fenster angezeigt on Thu, 22 Jul 2010 19:18:22 GMT]]></title><description><![CDATA[<p>Stimmt, bitte um Verschiebung...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1930235</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1930235</guid><dc:creator><![CDATA[skullyan]]></dc:creator><pubDate>Thu, 22 Jul 2010 19:18:22 GMT</pubDate></item><item><title><![CDATA[Reply to Bitmap-Ressource wird erst nach resize vom Fenster angezeigt on Thu, 22 Jul 2010 19:55:40 GMT]]></title><description><![CDATA[<p>Kann mir keiner helfen?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1930251</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1930251</guid><dc:creator><![CDATA[skullyan]]></dc:creator><pubDate>Thu, 22 Jul 2010 19:55:40 GMT</pubDate></item><item><title><![CDATA[Reply to Bitmap-Ressource wird erst nach resize vom Fenster angezeigt on Thu, 22 Jul 2010 20:38:58 GMT]]></title><description><![CDATA[<p>Wenn du UpdateWindow aufrufst, sollte das schon gehen.</p>
<p>Zeig sonst mal den kompletten Code. (Bitte auf das nötigste reduziert!)</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1930289</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1930289</guid><dc:creator><![CDATA[drakon]]></dc:creator><pubDate>Thu, 22 Jul 2010 20:38:58 GMT</pubDate></item><item><title><![CDATA[Reply to Bitmap-Ressource wird erst nach resize vom Fenster angezeigt on Thu, 22 Jul 2010 21:07:14 GMT]]></title><description><![CDATA[<p>drakon schrieb:</p>
<blockquote>
<p>Wenn du UpdateWindow aufrufst, sollte das schon gehen.</p>
<p>Zeig sonst mal den kompletten Code. (Bitte auf das nötigste reduziert!)</p>
</blockquote>
<pre><code class="language-cpp">case WM_PAINT:
		hdc = BeginPaint (hwnd, &amp;ps);
			// Load the bitmap from the resource
		bmpExercising = LoadBitmap(hIn, MAKEINTRESOURCE(IDB_BITMAP1));

		// Create a memory device compatible with the above DC variable
		MemDCExercising = CreateCompatibleDC(hdc);
		// Select the new bitmap
		SelectObject(MemDCExercising, bmpExercising);

		// Copy the bits from the memory DC into the current dc
		BitBlt(hdc, 0, 0, 450, 400, MemDCExercising, 0, 0, SRCCOPY);
		UpdateWindow(hwnd); // &lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt; FUNKTIONIERT NICHT
		DeleteDC(MemDCExercising);
		DeleteObject(bmpExercising);
		EndPaint (hwnd, &amp;ps);
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1930308</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1930308</guid><dc:creator><![CDATA[skullyan]]></dc:creator><pubDate>Thu, 22 Jul 2010 21:07:14 GMT</pubDate></item><item><title><![CDATA[Reply to Bitmap-Ressource wird erst nach resize vom Fenster angezeigt on Thu, 22 Jul 2010 21:11:20 GMT]]></title><description><![CDATA[<p>Eine lauffähige Anwendung. Ich weiss ja nicht, was du sonst so machst..</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1930310</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1930310</guid><dc:creator><![CDATA[drakon]]></dc:creator><pubDate>Thu, 22 Jul 2010 21:11:20 GMT</pubDate></item><item><title><![CDATA[Reply to Bitmap-Ressource wird erst nach resize vom Fenster angezeigt on Thu, 22 Jul 2010 21:19:10 GMT]]></title><description><![CDATA[<p>drakon schrieb:</p>
<blockquote>
<p>Eine lauffähige Anwendung. Ich weiss ja nicht, was du sonst so machst..</p>
</blockquote>
<p>Ironie? Also komplett kopieren? 300 Zeilen?</p>
<pre><code class="language-cpp">#ifndef IDC_STATIC
#define IDC_STATIC (-1)
#endif

#define IDB_BITMAP1                             100
</code></pre>
<p>DAS IST DIE HEADER DATEI</p>
<pre><code class="language-cpp">// Generated by ResEdit 1.5.2
// Copyright (C) 2006-2010
// http://www.resedit.net

#include &lt;windows.h&gt;
#include &lt;commctrl.h&gt;
#include &lt;richedit.h&gt;
#include &quot;resource.h&quot;

//
// Bitmap resources
//
LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
IDB_BITMAP1        BITMAP         &quot;C:\\Users\\MUSTER\\Desktop\\bitmap_0110.bmp&quot;
</code></pre>
<p>Und das die Ressourcendatei.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1930312</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1930312</guid><dc:creator><![CDATA[skullyan]]></dc:creator><pubDate>Thu, 22 Jul 2010 21:19:10 GMT</pubDate></item><item><title><![CDATA[Reply to Bitmap-Ressource wird erst nach resize vom Fenster angezeigt on Thu, 22 Jul 2010 21:19:34 GMT]]></title><description><![CDATA[<p><strong>Reduziert!</strong></p>
<p>Das erstellen eines Fensters und da reinzeichnen ist keine 300 Zeilen..</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1930314</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1930314</guid><dc:creator><![CDATA[drakon]]></dc:creator><pubDate>Thu, 22 Jul 2010 21:19:34 GMT</pubDate></item><item><title><![CDATA[Reply to Bitmap-Ressource wird erst nach resize vom Fenster angezeigt on Thu, 22 Jul 2010 21:24:11 GMT]]></title><description><![CDATA[<pre><code class="language-cpp">LRESULT CALLBACK WndProc (HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam)
{
 HDC hdc, MemDCExercising;
 PAINTSTRUCT ps;
 HWND hwndButton1, hwndButton2, hwndButton3;
 HFONT hFont = CreateFont(0,0,0,0,FW_DONTCARE,FALSE,FALSE,FALSE,DEFAULT_CHARSET,OUT_OUTLINE_PRECIS,
       CLIP_DEFAULT_PRECIS,CLEARTYPE_QUALITY, VARIABLE_PITCH,TEXT(&quot;Calibri&quot;));
 HBITMAP bmpExercising;

 switch (message)
 {
  case WM_PAINT:
		hdc = BeginPaint (hwnd, &amp;ps);
			// Load the bitmap from the resource
		bmpExercising = LoadBitmap(hIn, MAKEINTRESOURCE(IDB_BITMAP1));

		// Create a memory device compatible with the above DC variable
		MemDCExercising = CreateCompatibleDC(hdc);
		// Select the new bitmap
		SelectObject(MemDCExercising, bmpExercising);

		// Copy the bits from the memory DC into the current dc
		BitBlt(hdc, 0, 0, 450, 400, MemDCExercising, 0, 0, SRCCOPY);
		// Restore the old bitmap
		DeleteDC(MemDCExercising);
		DeleteObject(bmpExercising);
		EndPaint (hwnd, &amp;ps);
  return 0;
  case WM_CREATE :
    hwndButton1 = CreateWindow ( &quot;button&quot;, &quot;Senden&quot;,
                                   WS_CHILD | WS_VISIBLE | BS_DEFPUSHBUTTON,
                                   280, 230, 100, 50, hwnd, (HMENU)1,
                                   (HINSTANCE) GetWindowLong (hwnd, GWL_HINSTANCE), NULL);
	SendMessage(hwndButton1, WM_SETFONT, (WPARAM)hFont, MAKELPARAM(TRUE, 0));
    hwndButton2 = CreateWindow ( &quot;button&quot;, &quot;Verbinden&quot;,
                                   WS_CHILD | WS_VISIBLE | BS_PUSHBUTTON | WM_SETFONT,
                                   280, 20, 100, 25, hwnd, (HMENU)4,
                                   (HINSTANCE) GetWindowLong (hwnd, GWL_HINSTANCE), NULL);
	SendMessage(hwndButton2, WM_SETFONT, (WPARAM)hFont, MAKELPARAM(TRUE, 0));
    hwndButton3 = CreateWindow ( &quot;button&quot;, &quot;Trennen&quot;,
                                   WS_CHILD | WS_VISIBLE | BS_PUSHBUTTON,
                                   280, 55, 100, 25, hwnd, (HMENU)5,
                                   (HINSTANCE) GetWindowLong (hwnd, GWL_HINSTANCE), NULL);
	SendMessage(hwndButton3, WM_SETFONT, (WPARAM)hFont, MAKELPARAM(TRUE, 0));
    hwndEdit2   = CreateWindow ( &quot;edit&quot;, &quot;&quot;,
                                   WS_CHILD | WS_VISIBLE | WS_VSCROLL | ES_MULTILINE | WS_BORDER | ES_AUTOVSCROLL,
                                   20, 230, 250, 50, hwnd, (HMENU)2,
                                   (HINSTANCE) GetWindowLong (hwnd, GWL_HINSTANCE), NULL);
	SendMessage(hwndEdit2, WM_SETFONT, (WPARAM)hFont, MAKELPARAM(TRUE, 0));
    hwndEdit3   = CreateWindow ( &quot;edit&quot;, &quot;&quot;,
                                   WS_CHILD | WS_VISIBLE | WS_VSCROLL | ES_MULTILINE | WS_BORDER | ES_AUTOVSCROLL,
                                   20, 20, 250, 200, hwnd, (HMENU)3,
                                   (HINSTANCE) GetWindowLong (hwnd, GWL_HINSTANCE), NULL);
	SendMessage(hwndEdit3, WM_SETFONT, (WPARAM)hFont, MAKELPARAM(TRUE, 0));
</code></pre>
<p>Das ist es.</p>
<p>Und hier Teile meiner WinMain()</p>
<pre><code class="language-cpp">int WINAPI WinMain (HINSTANCE hI, HINSTANCE hPrI, PSTR szCmdLine, int iCmdShow)
{
 ip = szCmdLine;
 char szName[] = &quot;Fensterklasse&quot;;
 HBRUSH MyBrush = CreateSolidBrush( RGB( 255,105,180 ) );
 WNDCLASS wc;

 wc.style         = CS_HREDRAW | CS_VREDRAW;
 wc.lpfnWndProc   = WndProc;
 wc.cbClsExtra    = 0;
 wc.cbWndExtra    = 0;
 wc.hInstance     = hI;
 wc.hIcon         = LoadIcon (NULL, IDI_WINLOGO);
 wc.hCursor       = 0;
 wc.hbrBackground = (HBRUSH)GetStockObject(WHITE_BRUSH);
 wc.lpszMenuName  = NULL;
 wc.lpszClassName = szName;

 RegisterClass (&amp;wc);

 hwnd = CreateWindow (szName, &quot;Chat-Client&quot;, WS_OVERLAPPEDWINDOW,
                            0, 0, 420, 350, NULL, NULL, hI, NULL);
 ShowWindow   (hwnd, iCmdShow);
 UpdateWindow (hwnd);

//-----------------------------------------------------------------------------------
  LONG_PTR pOldWndProc = SetWindowLongPtr(hwndEdit2,GWL_WNDPROC,
                        LONG_PTR(SpecialWndProc));
  SetWindowLongPtr(hwndEdit2,GWL_USERDATA,pOldWndProc);
  MSG msg;
  hIn = hI;
  while (GetMessage (&amp;msg, NULL, 0, 0))
  {
    TranslateMessage (&amp;msg);
    DispatchMessage  (&amp;msg);
  }
  return msg.wParam;
}
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1930316</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1930316</guid><dc:creator><![CDATA[skullyan]]></dc:creator><pubDate>Thu, 22 Jul 2010 21:24:11 GMT</pubDate></item><item><title><![CDATA[Reply to Bitmap-Ressource wird erst nach resize vom Fenster angezeigt on Thu, 22 Jul 2010 21:31:17 GMT]]></title><description><![CDATA[<p>Was ist daran so schwer zu verstehen:<br />
Ein <strong>komplettes</strong> auf das <strong>nötigste</strong> reduzierte Beispiel, wo du das gleiche Verhalten hast.</p>
<p>Ich habe weder Lust zuerst eine ganze Applikation daraus zu bauen, noch das unwichtige wieder rauszuwerfen. Das ist schon deine Aufgabe!<br />
Oftmals findet man so die Fehler selbst, weil man den bei der Reduktion oft Dinge findet, die eben doch einen Einfluss haben können auf Dinge, die man gar nicht erwartet.</p>
<p>Es ist also auch vor allem als Selbsthilfe gedacht, dass ich so etwas schreibe.. Und wenn es nicht klappt, dann hast du wenigstens ein kompaktes, kleines Beispiel, wo wir Fehler schneller finden können.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1930319</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1930319</guid><dc:creator><![CDATA[drakon]]></dc:creator><pubDate>Thu, 22 Jul 2010 21:31:17 GMT</pubDate></item><item><title><![CDATA[Reply to Bitmap-Ressource wird erst nach resize vom Fenster angezeigt on Thu, 22 Jul 2010 21:58:13 GMT]]></title><description><![CDATA[<pre><code class="language-cpp">#include &quot;resource.h&quot;
#include &lt;windows.h&gt;

LRESULT CALLBACK WndProc (HWND, UINT, WPARAM, LPARAM);

HWND hwndEdit3, hwndEdit2, hwnd;
HINSTANCE hIn;

int WINAPI WinMain (HINSTANCE hI, HINSTANCE hPrI, PSTR szCmdLine, int iCmdShow)
{
 char szName[] = &quot;Fensterklasse&quot;;
 HBRUSH MyBrush = CreateSolidBrush( RGB( 255,105,180 ) );
 WNDCLASS wc;

 wc.style         = CS_HREDRAW | CS_VREDRAW;
 wc.lpfnWndProc   = WndProc;
 wc.cbClsExtra    = 0;
 wc.cbWndExtra    = 0;
 wc.hInstance     = hI;
 wc.hIcon         = LoadIcon (NULL, IDI_WINLOGO);
 wc.hCursor       = 0;
 wc.hbrBackground = (HBRUSH)GetStockObject(WHITE_BRUSH);
 wc.lpszMenuName  = NULL;
 wc.lpszClassName = szName;

 RegisterClass (&amp;wc);

 hwnd = CreateWindow (szName, &quot;Chat-Client&quot;, WS_OVERLAPPEDWINDOW,
                            0, 0, 420, 350, NULL, NULL, hI, NULL);
 ShowWindow   (hwnd, iCmdShow);
 UpdateWindow (hwnd);

//-----------------------------------------------------------------------------------
  MSG msg;
  hIn = hI;
  while (GetMessage (&amp;msg, NULL, 0, 0))
  {
    TranslateMessage (&amp;msg);
    DispatchMessage  (&amp;msg);
  }
  return msg.wParam;
}

//-----------------------------------------------------------------------------------

LRESULT CALLBACK WndProc (HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam)
{

 HDC hdc, MemDCExercising;
 PAINTSTRUCT ps;
 HWND hwndButton1, hwndButton2, hwndButton3;
 HBITMAP bmpExercising;
  HFONT hFont = CreateFont(0,0,0,0,FW_DONTCARE,FALSE,FALSE,FALSE,DEFAULT_CHARSET,OUT_OUTLINE_PRECIS,
       CLIP_DEFAULT_PRECIS,CLEARTYPE_QUALITY, VARIABLE_PITCH,TEXT(&quot;Calibri&quot;));
 switch (message)
 {
  case WM_PAINT:
		hdc = BeginPaint (hwnd, &amp;ps);
			// Load the bitmap from the resource
		bmpExercising = LoadBitmap(hIn, MAKEINTRESOURCE(IDB_BITMAP1));

		// Create a memory device compatible with the above DC variable
		MemDCExercising = CreateCompatibleDC(hdc);
		// Select the new bitmap
		SelectObject(MemDCExercising, bmpExercising);

		// Copy the bits from the memory DC into the current dc
		BitBlt(hdc, 0, 0, 450, 400, MemDCExercising, 0, 0, SRCCOPY);
		// Restore the old bitmap
		DeleteDC(MemDCExercising);
		DeleteObject(bmpExercising);
		EndPaint (hwnd, &amp;ps);
  return 0;
  case WM_DESTROY:
      PostQuitMessage (0);
  return 0;
 }

 return DefWindowProc (hwnd, message, wParam, lParam);
}
</code></pre>
<p>Dazugehörige Headerdatei:</p>
<pre><code class="language-cpp">#ifndef IDC_STATIC
#define IDC_STATIC (-1)
#endif

#define IDB_BITMAP1                             100
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1930329</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1930329</guid><dc:creator><![CDATA[skullyan]]></dc:creator><pubDate>Thu, 22 Jul 2010 21:58:13 GMT</pubDate></item><item><title><![CDATA[Reply to Bitmap-Ressource wird erst nach resize vom Fenster angezeigt on Thu, 22 Jul 2010 22:04:15 GMT]]></title><description><![CDATA[<p>Da ist immernoch sehr viel drin, was wahrscheinlich nichts mit dem Problem zu tun hat. (Die ganzen Buttons und Texfelder interessieren ja nicht).</p>
<p>Das so viel Zeugs ein Problem ist zeigt sich daher da, dass ich keine Ahung habe, was nicht gut ist. Bei mir wird die Message korrekt nach dem starten gesendet. (ich habe einfach einen Breakpoints dort gesetzt und er hat sofort dort gehalten).</p>
<p>Das Fenster wird gezeichnet und alles hat anscheinend den korrekten Platz.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1930332</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1930332</guid><dc:creator><![CDATA[drakon]]></dc:creator><pubDate>Thu, 22 Jul 2010 22:04:15 GMT</pubDate></item><item><title><![CDATA[Reply to Bitmap-Ressource wird erst nach resize vom Fenster angezeigt on Thu, 22 Jul 2010 22:11:53 GMT]]></title><description><![CDATA[<p>drakon schrieb:</p>
<blockquote>
<p>Da ist immernoch sehr viel drin, was wahrscheinlich nichts mit dem Problem zu tun hat. (Die ganzen Buttons und Texfelder interessieren ja nicht).</p>
<p>Das so viel Zeugs ein Problem ist zeigt sich daher da, dass ich keine Ahung habe, was nicht gut ist. Bei mir wird die Message korrekt nach dem starten gesendet. (ich habe einfach einen Breakpoints dort gesetzt und er hat sofort dort gehalten).</p>
<p>Das Fenster wird gezeichnet und alles hat anscheinend den korrekten Platz.</p>
</blockquote>
<p>Hab alles entfernt, mehr geht nicht. Ich kann ja noch die Ressourcendatei hochladen. Das Fenster ist bei mir am Anfang WEIß -&gt; sprich das Bild wird erst nach resize angezeigt!</p>
<p>Hier nochmal die Resource:</p>
<pre><code class="language-cpp">// Generated by ResEdit 1.5.2
// Copyright (C) 2006-2010
// http://www.resedit.net

#include &lt;windows.h&gt;
#include &lt;commctrl.h&gt;
#include &lt;richedit.h&gt;
#include &quot;resource.h&quot;

//
// Bitmap resources
//
LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
IDB_BITMAP1        BITMAP         &quot;C:\\Users\\MUSTER\\Desktop\\bitmap_0110.bmp&quot;
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1930333</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1930333</guid><dc:creator><![CDATA[skullyan]]></dc:creator><pubDate>Thu, 22 Jul 2010 22:11:53 GMT</pubDate></item><item><title><![CDATA[Reply to Bitmap-Ressource wird erst nach resize vom Fenster angezeigt on Thu, 22 Jul 2010 22:10:47 GMT]]></title><description><![CDATA[<p>Ja. Die Ressource wäre nicht schlecht.</p>
<p>Aber bist du sicher, dass der Code nicht ausgeführt wird? - Bei mir kommt die Message korrekt an.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1930334</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1930334</guid><dc:creator><![CDATA[drakon]]></dc:creator><pubDate>Thu, 22 Jul 2010 22:10:47 GMT</pubDate></item><item><title><![CDATA[Reply to Bitmap-Ressource wird erst nach resize vom Fenster angezeigt on Thu, 22 Jul 2010 22:15:40 GMT]]></title><description><![CDATA[<p>Ja, ich quäle mich seit Stunden damit... Das Bild erscheint ja! Aber leider nicht sofort nach Start des Programmes!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1930338</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1930338</guid><dc:creator><![CDATA[skullyan]]></dc:creator><pubDate>Thu, 22 Jul 2010 22:15:40 GMT</pubDate></item><item><title><![CDATA[Reply to Bitmap-Ressource wird erst nach resize vom Fenster angezeigt on Thu, 22 Jul 2010 23:19:10 GMT]]></title><description><![CDATA[<p>Keine Idee?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1930351</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1930351</guid><dc:creator><![CDATA[skullyan]]></dc:creator><pubDate>Thu, 22 Jul 2010 23:19:10 GMT</pubDate></item></channel></rss>