<?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 im IDC_STATIC anzeigen lassen]]></title><description><![CDATA[<p>Hi wollte mal ne Bitmap im IDC_Static anzeigen lassen, aber hab keine Ahnung wie ich das realisieren soll.<br />
hab folgendes:</p>
<pre><code>BOOL CALLBACK fnInfo(HWND hWindow, UINT Message, WPARAM wParam, LPARAM lParam)
{
    switch(Message)
    {
        case WM_INITDIALOG:
            return TRUE;

        case WM_CREATE:
            {
                static HBITMAP hBitmap;
                hBitmap = (HBITMAP)LoadBitmap(GetModuleHandle(NULL), MAKEINTRESOURCE(IDB_BITMAP));
                break;
            }
        case WM_COMMAND:
            switch(LOWORD(wParam))
            {
                case IDOK:
                    EndDialog(hWindow, IDOK);
                break;
                case IDCANCEL:
                    EndDialog(hWindow, IDCANCEL);
                break;
            }
        break;
        default:
            return FALSE;
    }
    return TRUE;
}
</code></pre>
<p>ich hab im resource-editor n static feld gemacht mit Typ: Bitmap, Abbild: IDB_BITMAP halt. Aber wenn ich das Programm starte wirds nicht angezeigt?! o_O hilfe? <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="😉"
    /> danke shconmal für eure hilfe</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/105313/bitmap-im-idc_static-anzeigen-lassen</link><generator>RSS for Node</generator><lastBuildDate>Tue, 16 Jun 2026 04:42:17 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/105313.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 29 Mar 2005 10:30:22 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to BITMAP im IDC_STATIC anzeigen lassen on Tue, 29 Mar 2005 10:30:22 GMT]]></title><description><![CDATA[<p>Hi wollte mal ne Bitmap im IDC_Static anzeigen lassen, aber hab keine Ahnung wie ich das realisieren soll.<br />
hab folgendes:</p>
<pre><code>BOOL CALLBACK fnInfo(HWND hWindow, UINT Message, WPARAM wParam, LPARAM lParam)
{
    switch(Message)
    {
        case WM_INITDIALOG:
            return TRUE;

        case WM_CREATE:
            {
                static HBITMAP hBitmap;
                hBitmap = (HBITMAP)LoadBitmap(GetModuleHandle(NULL), MAKEINTRESOURCE(IDB_BITMAP));
                break;
            }
        case WM_COMMAND:
            switch(LOWORD(wParam))
            {
                case IDOK:
                    EndDialog(hWindow, IDOK);
                break;
                case IDCANCEL:
                    EndDialog(hWindow, IDCANCEL);
                break;
            }
        break;
        default:
            return FALSE;
    }
    return TRUE;
}
</code></pre>
<p>ich hab im resource-editor n static feld gemacht mit Typ: Bitmap, Abbild: IDB_BITMAP halt. Aber wenn ich das Programm starte wirds nicht angezeigt?! o_O hilfe? <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="😉"
    /> danke shconmal für eure hilfe</p>
]]></description><link>https://www.c-plusplus.net/forum/post/754773</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/754773</guid><dc:creator><![CDATA[.testor]]></dc:creator><pubDate>Tue, 29 Mar 2005 10:30:22 GMT</pubDate></item></channel></rss>