<?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[Fenster Farbe... WinAPI?]]></title><description><![CDATA[<p>Hi,</p>
<p>ich habe ein Problem, ich habe jetzt ein Fenster<br />
nur sieht das dumm aus :p<br />
krieg nur son komischen grauen(GRAY_BRUSH), nen überhellten grauen (LTGRAY_BRUSH), nen schwarzen(BLACK_BRUSH) und nen weißen (WHITE_BRUSH) Hintergrund hin ^^<br />
Wie mach ich, dass sich das dem Windows Style anpasst?</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/122757/fenster-farbe-winapi</link><generator>RSS for Node</generator><lastBuildDate>Mon, 06 Jul 2026 07:27:42 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/122757.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 09 Oct 2005 16:30:16 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Fenster Farbe... WinAPI? on Sun, 09 Oct 2005 16:30:16 GMT]]></title><description><![CDATA[<p>Hi,</p>
<p>ich habe ein Problem, ich habe jetzt ein Fenster<br />
nur sieht das dumm aus :p<br />
krieg nur son komischen grauen(GRAY_BRUSH), nen überhellten grauen (LTGRAY_BRUSH), nen schwarzen(BLACK_BRUSH) und nen weißen (WHITE_BRUSH) Hintergrund hin ^^<br />
Wie mach ich, dass sich das dem Windows Style anpasst?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/888290</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/888290</guid><dc:creator><![CDATA[HolySheepy]]></dc:creator><pubDate>Sun, 09 Oct 2005 16:30:16 GMT</pubDate></item><item><title><![CDATA[Reply to Fenster Farbe... WinAPI? on Sun, 09 Oct 2005 16:32:46 GMT]]></title><description><![CDATA[<pre><code class="language-cpp">wndclass.hbrBackground = (HBRUSH)sys_color;
</code></pre>
<p>Wobei sys_color eins von denen sein kann:</p>
<pre><code>COLOR_ACTIVEBORDER
COLOR_ACTIVECAPTION
COLOR_APPWORKSPACE
COLOR_BACKGROUND
COLOR_BTNFACE
COLOR_BTNSHADOW
COLOR_BTNTEXT
COLOR_CAPTIONTEXT
COLOR_GRAYTEXT
COLOR_HIGHLIGHT
COLOR_HIGHLIGHTTEXT
COLOR_INACTIVEBORDER
COLOR_INACTIVECAPTION
COLOR_MENU
COLOR_MENUTEXT
COLOR_SCROLLBAR
COLOR_WINDOW
COLOR_WINDOWFRAME
COLOR_WINDOWTEXT
</code></pre>
<p>MfG SideWinder</p>
]]></description><link>https://www.c-plusplus.net/forum/post/888292</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/888292</guid><dc:creator><![CDATA[SideWinder]]></dc:creator><pubDate>Sun, 09 Oct 2005 16:32:46 GMT</pubDate></item><item><title><![CDATA[Reply to Fenster Farbe... WinAPI? on Sun, 09 Oct 2005 17:08:05 GMT]]></title><description><![CDATA[<p>jetzt hab ichs, Danke ^^<br />
hab aber ein anderes Problem... ich finde kein Tutorial das beschreibt wie man macht das sich aufn Knopfdruck(ich weiß wie man Knopfdruck(Button Druck)abfragt),<br />
ein neues Fenster öffnet, jedoch das alte offenbleibt, man dieses aber nichtmehr anwählen/benutzen kann, bevor das neue geschlossen ist <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="=/"
      alt="😕"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/888311</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/888311</guid><dc:creator><![CDATA[HolySheepy]]></dc:creator><pubDate>Sun, 09 Oct 2005 17:08:05 GMT</pubDate></item><item><title><![CDATA[Reply to Fenster Farbe... WinAPI? on Sun, 09 Oct 2005 17:33:09 GMT]]></title><description><![CDATA[<p>Dafür kannst du gut Dialoge verwenden. Hier ein Tutorial:</p>
<p><a href="http://www.winprog.org/tutorial/" rel="nofollow">http://www.winprog.org/tutorial/</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/888329</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/888329</guid><dc:creator><![CDATA[,,,,]]></dc:creator><pubDate>Sun, 09 Oct 2005 17:33:09 GMT</pubDate></item><item><title><![CDATA[Reply to Fenster Farbe... WinAPI? on Sun, 09 Oct 2005 17:38:41 GMT]]></title><description><![CDATA[<p>Sowas wie DialogBox?! Wie genau man das am geschicktesten mit einem normelen Fenster macht, weiß ich gar nicht, aber du könntest dein Hauptfenster mit EnableWindow deaktivieren...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/888334</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/888334</guid><dc:creator><![CDATA[flenders]]></dc:creator><pubDate>Sun, 09 Oct 2005 17:38:41 GMT</pubDate></item><item><title><![CDATA[Reply to Fenster Farbe... WinAPI? on Sun, 09 Oct 2005 18:08:29 GMT]]></title><description><![CDATA[<p>hmmm</p>
<pre><code>#include &quot;go_rc.h&quot;

GO_MAIN MENU
BEGIN
POPUP &quot;&amp;Datei&quot;
BEGIN
MENUITEM &quot;&amp;Verlassen&quot;, ID_DATEI_VERLASSEN
END
END

dADD_FILE_POPUP DIALOG DISCARDABLE 0, 0, 239, 66
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION &quot;Hinzufügen...&quot;
FONT 8, &quot;MS Sans Serif&quot;
BEGIN
DEFPUSHBUTTON &quot;&amp;OK&quot;,IDOK,174,18,50,14
PUSHBUTTON &quot;&amp;Cancel,IDCANCEL,174,35,50,14
END
</code></pre>
<pre><code>File                        Line        Message
windres.exe: go_rc.rc       12          syntax error
</code></pre>
<p>ich benutze Code::Blocks IDE mit Mircosoft Visual C++ Toolkit 2003<br />
und Microsoft Platform SDK</p>
]]></description><link>https://www.c-plusplus.net/forum/post/888351</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/888351</guid><dc:creator><![CDATA[HolySheepy]]></dc:creator><pubDate>Sun, 09 Oct 2005 18:08:29 GMT</pubDate></item><item><title><![CDATA[Reply to Fenster Farbe... WinAPI? on Sun, 09 Oct 2005 18:55:44 GMT]]></title><description><![CDATA[<p>SideWinder schrieb:</p>
<blockquote>
<pre><code class="language-cpp">wndclass.hbrBackground = (HBRUSH)sys_color;
</code></pre>
</blockquote>
<p>Du meintest wohl:</p>
<pre><code class="language-cpp">wndclass.hbrBackground = (HBRUSH)( sys_color + 1 );
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/888380</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/888380</guid><dc:creator><![CDATA[Power Off]]></dc:creator><pubDate>Sun, 09 Oct 2005 18:55:44 GMT</pubDate></item><item><title><![CDATA[Reply to Fenster Farbe... WinAPI? on Mon, 10 Oct 2005 14:40:55 GMT]]></title><description><![CDATA[<p>edit3:</p>
<p>hmm<br />
hab jetzt ne dialog box mit 2 knöpfen und einem edit feld<br />
die sag ich dem programm was im edit feld stand?<br />
man kann ja nur int_ptr übergeben bei end dialog <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="=/"
      alt="😕"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/888419</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/888419</guid><dc:creator><![CDATA[HolySheepy]]></dc:creator><pubDate>Mon, 10 Oct 2005 14:40:55 GMT</pubDate></item></channel></rss>