<?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 ohne Caption erstellen]]></title><description><![CDATA[<p>hi,</p>
<p>wie kann ich ein fenster ohne Titelleiste, Rand, Hintergrund etc. erstellen? dass man also ohne etwas gezeichnet zu haben rein gar nichts von dem fenster sieht? ich will nämlich einfach nur ein paar einfache formen auf den desktop zeichnen.</p>
<p>MfG, Herr-Vorragend</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/108345/fenster-ohne-caption-erstellen</link><generator>RSS for Node</generator><lastBuildDate>Wed, 01 Jul 2026 00:31:41 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/108345.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 28 Apr 2005 14:59:26 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Fenster ohne Caption erstellen on Thu, 28 Apr 2005 14:59:26 GMT]]></title><description><![CDATA[<p>hi,</p>
<p>wie kann ich ein fenster ohne Titelleiste, Rand, Hintergrund etc. erstellen? dass man also ohne etwas gezeichnet zu haben rein gar nichts von dem fenster sieht? ich will nämlich einfach nur ein paar einfache formen auf den desktop zeichnen.</p>
<p>MfG, Herr-Vorragend</p>
]]></description><link>https://www.c-plusplus.net/forum/post/777637</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/777637</guid><dc:creator><![CDATA[Herr-Vorragend]]></dc:creator><pubDate>Thu, 28 Apr 2005 14:59:26 GMT</pubDate></item><item><title><![CDATA[Reply to Fenster ohne Caption erstellen on Thu, 28 Apr 2005 15:09:02 GMT]]></title><description><![CDATA[<p>Kannst dein Programm ja nur im TRay laden und dann von da aus auf den DesktopnDC zeichen...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/777643</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/777643</guid><dc:creator><![CDATA[*D*Evil]]></dc:creator><pubDate>Thu, 28 Apr 2005 15:09:02 GMT</pubDate></item><item><title><![CDATA[Reply to Fenster ohne Caption erstellen on Thu, 28 Apr 2005 15:55:23 GMT]]></title><description><![CDATA[<p>hm, anders geht nicht? wär nämlich jetzt viel umständlicher <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/777687</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/777687</guid><dc:creator><![CDATA[Herr-Vorragend]]></dc:creator><pubDate>Thu, 28 Apr 2005 15:55:23 GMT</pubDate></item><item><title><![CDATA[Reply to Fenster ohne Caption erstellen on Thu, 28 Apr 2005 16:10:53 GMT]]></title><description><![CDATA[<p>WS_POPUP als Fensterstil nehmen.<br />
Transparenz kriegt man sehr einfach mit WS_EX_LAYERED hin.<br />
Mit SetLayeredWindowAttributes() kann man dann eine Farbe setzen, die transparent sein soll. Alles was man dann in der WM_PAINT() mit der Farbe zeichnet bleibt transparent.</p>
<p>Alternativ ginge auch mit einer Region alles transparent zu setzen und die dann via SetWindowRgn() setzen, was aber aufwendiger ist.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/777707</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/777707</guid><dc:creator><![CDATA[geeky]]></dc:creator><pubDate>Thu, 28 Apr 2005 16:10:53 GMT</pubDate></item><item><title><![CDATA[Reply to Fenster ohne Caption erstellen on Thu, 28 Apr 2005 16:17:42 GMT]]></title><description><![CDATA[<p>k, vielen dank, wunderbar, genau das hab ich gesucht.</p>
<p>jetzt hab ich noch 2 frage:</p>
<p>- wie mache ich, dass das fenster keinen hintergrund hat? also auch nicht weiß, sondern einfach transparent<br />
- wie verhindere ich, dass mein fenster beim drücken auf den &quot;alle fenster minimieren&quot; button minimiert wird?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/777718</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/777718</guid><dc:creator><![CDATA[Herr-Vorragend]]></dc:creator><pubDate>Thu, 28 Apr 2005 16:17:42 GMT</pubDate></item><item><title><![CDATA[Reply to Fenster ohne Caption erstellen on Thu, 28 Apr 2005 16:29:58 GMT]]></title><description><![CDATA[<p>Transparenz:</p>
<pre><code class="language-cpp">myWnd = CreateWindowEx(WS_EX_LAYERED|WS_EX_NOACTIVATE|WS_EX_TOPMOST,&quot;blupp.class&quot;, &quot;blupp&quot;, WS_POPUP, 10, 15, 200, 30, NULL, NULL, hInstance, NULL);
	if (!myWnd)
	{
		return 0;
	}
	SetLayeredWindowAttributes(myWnd,RGB(255,255,255),0,LWA_COLORKEY);
</code></pre>
<p>...alles was weiß gezeichnet wird, ist hinterher transparent.<br />
Funktioniert aber nur ab Win2k <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=";D"
      alt="😉"
    /><br />
Edit: Und funktioniert nicht bei Child-Windows!</p>
<p>&quot;Alle Fenster minimieren&quot; kannst du nicht verhindern, aber sofort wieder rückgängig machen - Du kriegst eine WM_SIZE-Message.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/777737</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/777737</guid><dc:creator><![CDATA[geeky]]></dc:creator><pubDate>Thu, 28 Apr 2005 16:29:58 GMT</pubDate></item><item><title><![CDATA[Reply to Fenster ohne Caption erstellen on Thu, 28 Apr 2005 17:50:39 GMT]]></title><description><![CDATA[<p>WNDCLASS wc;<br />
wc.hbrBackground= (HBRUSH)GetStockObject(WHITE_BRUSH);</p>
<p>auf</p>
<p>wc.hbrBackground= NULL;</p>
<p>setzten, das hab ich früher mal urtümlich gemacht, und hab micht gewundert warum dort ein Renster ohne inhalt gezeichnet wurde ^^</p>
]]></description><link>https://www.c-plusplus.net/forum/post/777833</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/777833</guid><dc:creator><![CDATA[*D*Evil]]></dc:creator><pubDate>Thu, 28 Apr 2005 17:50:39 GMT</pubDate></item><item><title><![CDATA[Reply to Fenster ohne Caption erstellen on Fri, 29 Apr 2005 16:34:11 GMT]]></title><description><![CDATA[<p>wc.hbrBackground= NULL;</p>
<p>funktioniert nicht, dann wirds so komisch schwarz. trotzdem danke</p>
<p><a class="plugin-mentions-user plugin-mentions-a" href="https://www.c-plusplus.net/forum/uid/41">@geeky</a>: genau das hab ich gesucht. nochmals danke ^^</p>
<p>zum minimieren:</p>
<p>hab 2 dinge versucht, funktionieren beide nicht:<br />
- direkt bei WM_SIZE die funktion ShowWindow(hWnd, SW_SHOW) aufrufen<br />
- bei WM_SIZE eine selbst definierte nachricht WM_SHOW senden, die ShowWindow(hWnd, SW_SHOW) aufruft</p>
<p>Wann soll ich das fenster denn anzeigen lassen?</p>
<p>MfG, Herr-Vorragend</p>
]]></description><link>https://www.c-plusplus.net/forum/post/778605</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/778605</guid><dc:creator><![CDATA[Herr-Vorragend]]></dc:creator><pubDate>Fri, 29 Apr 2005 16:34:11 GMT</pubDate></item><item><title><![CDATA[Reply to Fenster ohne Caption erstellen on Sat, 30 Apr 2005 15:16:41 GMT]]></title><description><![CDATA[<p>geht es denn überhaupt?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/779154</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/779154</guid><dc:creator><![CDATA[Herr-Vorragend]]></dc:creator><pubDate>Sat, 30 Apr 2005 15:16:41 GMT</pubDate></item><item><title><![CDATA[Reply to Fenster ohne Caption erstellen on Sun, 01 May 2005 11:04:57 GMT]]></title><description><![CDATA[<p>also mit folgendem ausschnitt bekomm ich beim drücken auf den &quot;Alle fenster minimieren&quot;-button keine WM_SIZE nachricht:</p>
<pre><code class="language-cpp">...
WM_SIZE:
    MessageBox(NULL, &quot;bla&quot;, &quot;blabla&quot;, MB_OK);
    return 0;
...
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/779469</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/779469</guid><dc:creator><![CDATA[Herr-Vorragend]]></dc:creator><pubDate>Sun, 01 May 2005 11:04:57 GMT</pubDate></item><item><title><![CDATA[Reply to Fenster ohne Caption erstellen on Sun, 01 May 2005 17:43:22 GMT]]></title><description><![CDATA[<p>Hmm, vielleicht wird WM_WINDOWPOSCHANGED gesendet ?<br />
Prüf mal einfach via Spy++ was Windows da so ans Fenster sendet <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=";D"
      alt="😉"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/779714</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/779714</guid><dc:creator><![CDATA[geeky]]></dc:creator><pubDate>Sun, 01 May 2005 17:43:22 GMT</pubDate></item><item><title><![CDATA[Reply to Fenster ohne Caption erstellen on Sun, 01 May 2005 17:55:20 GMT]]></title><description><![CDATA[<p>hm, also irgendwie bekomm ich da gar keine nachricht, selbst folgendes hat keinen effekt:</p>
<pre><code class="language-cpp">LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
{
         ShowWindow(hWnd, SW_SHOW);

	return DefWindowProc(hWnd, message, wParam, lParam);
}
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/779723</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/779723</guid><dc:creator><![CDATA[Herr-Vorragend]]></dc:creator><pubDate>Sun, 01 May 2005 17:55:20 GMT</pubDate></item><item><title><![CDATA[Reply to Fenster ohne Caption erstellen on Sat, 21 May 2005 17:39:51 GMT]]></title><description><![CDATA[<p>das problem besteht übrigens immernoch ^^</p>
]]></description><link>https://www.c-plusplus.net/forum/post/793106</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/793106</guid><dc:creator><![CDATA[Herr-Vorragend]]></dc:creator><pubDate>Sat, 21 May 2005 17:39:51 GMT</pubDate></item><item><title><![CDATA[Reply to Fenster ohne Caption erstellen on Sat, 21 May 2005 18:30:47 GMT]]></title><description><![CDATA[<p>WM_SIZE ist die falsche Message, du muss folgendes abfangen:</p>
<p>if (msg==WM_SYSCOMMAND &amp;&amp; wParam==SC_MINIMIZE) {<br />
...<br />
}</p>
]]></description><link>https://www.c-plusplus.net/forum/post/793127</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/793127</guid><dc:creator><![CDATA[Tobias1986]]></dc:creator><pubDate>Sat, 21 May 2005 18:30:47 GMT</pubDate></item><item><title><![CDATA[Reply to Fenster ohne Caption erstellen on Sat, 21 May 2005 20:39:26 GMT]]></title><description><![CDATA[<p>also dieser code nützt auch nichts <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>
<pre><code class="language-cpp">case WM_SYSCOMMAND:
		if (wParam == SC_MINIMIZE)
			MessageBox(NULL, &quot;a&quot;, &quot;b&quot;, MB_OK);
		return 0;
</code></pre>
<p>das heißt es kommt keine message box...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/793179</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/793179</guid><dc:creator><![CDATA[Herr-Vorragend]]></dc:creator><pubDate>Sat, 21 May 2005 20:39:26 GMT</pubDate></item><item><title><![CDATA[Reply to Fenster ohne Caption erstellen on Sun, 22 May 2005 14:45:59 GMT]]></title><description><![CDATA[<p>hm, ich hab eben mal mit spy++ geschaut, irgendwie bekomm ich gar keine nachricht, das kanns doch nicht sein, oder?!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/793554</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/793554</guid><dc:creator><![CDATA[Herr-Vorragend]]></dc:creator><pubDate>Sun, 22 May 2005 14:45:59 GMT</pubDate></item><item><title><![CDATA[Reply to Fenster ohne Caption erstellen on Sun, 22 May 2005 18:30:26 GMT]]></title><description><![CDATA[<p>Also irgenedwas ist bei die kpmisch ich erhalte jede Menge Nachrichten:</p>
<p>WM_WINDOWPOSCHANGING<br />
WM_GETMINMAXINFO<br />
WM_NCCALCSIZE<br />
WM_WINDOWPOSCHANGED<br />
WM_MOVE<br />
WM_SIZE</p>
]]></description><link>https://www.c-plusplus.net/forum/post/793764</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/793764</guid><dc:creator><![CDATA[Tobias1986]]></dc:creator><pubDate>Sun, 22 May 2005 18:30:26 GMT</pubDate></item><item><title><![CDATA[Reply to Fenster ohne Caption erstellen on Sun, 22 May 2005 19:31:10 GMT]]></title><description><![CDATA[<p>hm, stimmt, andere fenster bekommen mehrere nachrichten....also ich erstelle mein fenster so:</p>
<pre><code class="language-cpp">hWnd = CreateWindowEx(	WS_EX_LAYERED | WS_EX_NOACTIVATE,
							szAppName,
							&quot;MHDesktop&quot;,
							WS_POPUP,
							CW_USEDEFAULT,
							CW_USEDEFAULT,
							CW_USEDEFAULT,
							CW_USEDEFAULT,
							NULL,
							NULL,
							hInstance,
							NULL);
</code></pre>
<p>und später benutze ich noch</p>
<pre><code class="language-cpp">SetWindowPos(hWnd, HWND_BOTTOM, 674, 50, 300, 200, SWP_NOACTIVATE);
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/793807</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/793807</guid><dc:creator><![CDATA[Herr-Vorragend]]></dc:creator><pubDate>Sun, 22 May 2005 19:31:10 GMT</pubDate></item><item><title><![CDATA[Reply to Fenster ohne Caption erstellen on Mon, 23 May 2005 18:18:58 GMT]]></title><description><![CDATA[<p>hat denn noch nie jemand ein ähnliches problem gehabt? das eigentliche problem ist ja, dass mein fenster zu wenige nachrichten bekommt...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/794512</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/794512</guid><dc:creator><![CDATA[Herr-Vorragend]]></dc:creator><pubDate>Mon, 23 May 2005 18:18:58 GMT</pubDate></item><item><title><![CDATA[Reply to Fenster ohne Caption erstellen on Mon, 23 May 2005 19:45:11 GMT]]></title><description><![CDATA[<p>ein totes fenster sendet für gewöhnlich auch keine nachrichten:</p>
<p>SWP_NOACTIVATE Does not activate the window. If this flag is not set, the window is activated and moved to the top of either the topmost or non-topmost group (depending on the setting of the hWndInsertAfter parameter).</p>
]]></description><link>https://www.c-plusplus.net/forum/post/794568</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/794568</guid><dc:creator><![CDATA[tja]]></dc:creator><pubDate>Mon, 23 May 2005 19:45:11 GMT</pubDate></item><item><title><![CDATA[Reply to Fenster ohne Caption erstellen on Mon, 23 May 2005 19:48:31 GMT]]></title><description><![CDATA[<p>.....und empfängt auch keine</p>
]]></description><link>https://www.c-plusplus.net/forum/post/794573</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/794573</guid><dc:creator><![CDATA[tja]]></dc:creator><pubDate>Mon, 23 May 2005 19:48:31 GMT</pubDate></item><item><title><![CDATA[Reply to Fenster ohne Caption erstellen on Tue, 24 May 2005 14:16:01 GMT]]></title><description><![CDATA[<p>hm, das fenster muss aber deaktiviert bleiben...fällt jemand ne möglichkeit ein, wie ich das problem lösen kann? mir fiele da nur ein hook-ein, aber das find ich en bißchen aufwendig für die ganze sache, fällt jemand was simpleres ein?</p>
<p>MfG, Herr-Vorragend</p>
]]></description><link>https://www.c-plusplus.net/forum/post/795069</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/795069</guid><dc:creator><![CDATA[Herr-Vorragend]]></dc:creator><pubDate>Tue, 24 May 2005 14:16:01 GMT</pubDate></item><item><title><![CDATA[Reply to Fenster ohne Caption erstellen on Wed, 25 May 2005 08:34:58 GMT]]></title><description><![CDATA[<p>warum versteckst dus nicht einfach mit ShowWindow + SW_HIDE? Dann kanns atmen, aber stört keinen mit seinem Anklitz...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/795591</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/795591</guid><dc:creator><![CDATA[tja]]></dc:creator><pubDate>Wed, 25 May 2005 08:34:58 GMT</pubDate></item><item><title><![CDATA[Reply to Fenster ohne Caption erstellen on Wed, 25 May 2005 12:28:30 GMT]]></title><description><![CDATA[<p>es soll ja genau das gegenteil, nämlich immer direkt auf dem desktop unter allen programmen sein, auch wenn alles minimiert wurde...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/795800</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/795800</guid><dc:creator><![CDATA[Herr-Vorragend]]></dc:creator><pubDate>Wed, 25 May 2005 12:28:30 GMT</pubDate></item><item><title><![CDATA[Reply to Fenster ohne Caption erstellen on Thu, 26 May 2005 12:27:30 GMT]]></title><description><![CDATA[<p>hilfe! <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f642.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--slightly_smiling_face"
      title=":)"
      alt="🙂"
    /></p>
<p>is denn überhaupt klar, was ich machen möchte und wo das Problem liegt, oder soll ichs nochmal erklären?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/796596</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/796596</guid><dc:creator><![CDATA[Herr-Vorragend]]></dc:creator><pubDate>Thu, 26 May 2005 12:27:30 GMT</pubDate></item></channel></rss>