<?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[Probleme mit static control]]></title><description><![CDATA[<p>Hallo,<br />
ich habe einen Dialog mit einem static control erstellt, in dem ich ein bitmap anzeigen lassen will. Das Bitmap wird direkt im Prototyp festgelegt:</p>
<p>CONTROL &quot;Beispiel.bmp&quot;,IDC_Objekt_Bild1,&quot;Static&quot;,SS_BITMAP | SS_SUNKEN,44,49,20,20</p>
<p>Nach dem Aufruf des Dialogs mittels CreateDialog ist allerdings kein Bild sichtbar, sondern nur ein leerer Rahmen (von SS_SUNKEN). &quot;Beispiel.bmp&quot; befindet sich im selben Verzeichnis wie das Resourcenskript. Auch eine Einbindung über eine Bitmap-Resource schlug fehl:</p>
<p>IDB_DEFAULT BITMAP DISCARDABLE &quot;Beispiel.bmp&quot;<br />
CONTROL 110,IDC_Objekt_Bild1,&quot;Static&quot;,SS_BITMAP | SS_SUNKEN,44,49,20,20</p>
<p>(wobei im header #define IDB_DEFAULT 110 deklariert wurde ).<br />
Hierbei kam es zu einer Fehlermeldung:</p>
<p>**** Beginn ****<br />
Compiler: Default compiler<br />
Building Makefile: &quot;D:\c\Maklerprogramm\Makefile.win&quot;<br />
Führt make... aus<br />
make.exe -f &quot;D:\c\Maklerprogramm\Makefile.win&quot; all<br />
gcc.exe -c &quot;DB Verbindung.c&quot; -o &quot;DB Verbindung.o&quot; -I&quot;D:/Programme/Dev-Cpp/include&quot;</p>
<p>gcc.exe -c &quot;DB Verbindung.c&quot; -o &quot;DB Verbindung.o&quot; -I&quot;D:/Programme/Dev-Cpp/include&quot;</p>
<p>gcc.exe -c Objektedialog.c -o Objektedialog.o -I&quot;D:/Programme/Dev-Cpp/include&quot;</p>
<p>gcc.exe -c &quot;globale Hilfsfunktionen.c&quot; -o &quot;globale Hilfsfunktionen.o&quot; -I&quot;D:/Programme/Dev-Cpp/include&quot;</p>
<p>gcc.exe -c &quot;globale Hilfsfunktionen.c&quot; -o &quot;globale Hilfsfunktionen.o&quot; -I&quot;D:/Programme/Dev-Cpp/include&quot;</p>
<p>windres.exe -i Maklerprogramm_private.rc -I rc -o Maklerprogramm_private.res -O coff</p>
<p>stdout: Invalid argument</p>
<p>windres.exe: Maklerprogramm_private.rc:819: parse error</p>
<p>make.exe: *** [Maklerprogramm_private.res] Error 1</p>
<p>Ausführung beendet<br />
**** Ende ****</p>
<p>Weiß jemand Rat, warum das so nicht funktioniert?</p>
<p>Danke schon mal!</p>
<p>Thomas</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/80459/probleme-mit-static-control</link><generator>RSS for Node</generator><lastBuildDate>Mon, 13 Apr 2026 04:45:42 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/80459.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 21 Jul 2004 11:30:59 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Probleme mit static control on Wed, 21 Jul 2004 11:30:59 GMT]]></title><description><![CDATA[<p>Hallo,<br />
ich habe einen Dialog mit einem static control erstellt, in dem ich ein bitmap anzeigen lassen will. Das Bitmap wird direkt im Prototyp festgelegt:</p>
<p>CONTROL &quot;Beispiel.bmp&quot;,IDC_Objekt_Bild1,&quot;Static&quot;,SS_BITMAP | SS_SUNKEN,44,49,20,20</p>
<p>Nach dem Aufruf des Dialogs mittels CreateDialog ist allerdings kein Bild sichtbar, sondern nur ein leerer Rahmen (von SS_SUNKEN). &quot;Beispiel.bmp&quot; befindet sich im selben Verzeichnis wie das Resourcenskript. Auch eine Einbindung über eine Bitmap-Resource schlug fehl:</p>
<p>IDB_DEFAULT BITMAP DISCARDABLE &quot;Beispiel.bmp&quot;<br />
CONTROL 110,IDC_Objekt_Bild1,&quot;Static&quot;,SS_BITMAP | SS_SUNKEN,44,49,20,20</p>
<p>(wobei im header #define IDB_DEFAULT 110 deklariert wurde ).<br />
Hierbei kam es zu einer Fehlermeldung:</p>
<p>**** Beginn ****<br />
Compiler: Default compiler<br />
Building Makefile: &quot;D:\c\Maklerprogramm\Makefile.win&quot;<br />
Führt make... aus<br />
make.exe -f &quot;D:\c\Maklerprogramm\Makefile.win&quot; all<br />
gcc.exe -c &quot;DB Verbindung.c&quot; -o &quot;DB Verbindung.o&quot; -I&quot;D:/Programme/Dev-Cpp/include&quot;</p>
<p>gcc.exe -c &quot;DB Verbindung.c&quot; -o &quot;DB Verbindung.o&quot; -I&quot;D:/Programme/Dev-Cpp/include&quot;</p>
<p>gcc.exe -c Objektedialog.c -o Objektedialog.o -I&quot;D:/Programme/Dev-Cpp/include&quot;</p>
<p>gcc.exe -c &quot;globale Hilfsfunktionen.c&quot; -o &quot;globale Hilfsfunktionen.o&quot; -I&quot;D:/Programme/Dev-Cpp/include&quot;</p>
<p>gcc.exe -c &quot;globale Hilfsfunktionen.c&quot; -o &quot;globale Hilfsfunktionen.o&quot; -I&quot;D:/Programme/Dev-Cpp/include&quot;</p>
<p>windres.exe -i Maklerprogramm_private.rc -I rc -o Maklerprogramm_private.res -O coff</p>
<p>stdout: Invalid argument</p>
<p>windres.exe: Maklerprogramm_private.rc:819: parse error</p>
<p>make.exe: *** [Maklerprogramm_private.res] Error 1</p>
<p>Ausführung beendet<br />
**** Ende ****</p>
<p>Weiß jemand Rat, warum das so nicht funktioniert?</p>
<p>Danke schon mal!</p>
<p>Thomas</p>
]]></description><link>https://www.c-plusplus.net/forum/post/565138</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/565138</guid><dc:creator><![CDATA[ThomasG]]></dc:creator><pubDate>Wed, 21 Jul 2004 11:30:59 GMT</pubDate></item></channel></rss>