<?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[WS_EX_TRANSPARENT]]></title><description><![CDATA[<p>Ich hab keine Probleme mir Buttons zu erstellen und wie erwartet anzeigen zu lassen. Nur wenn ich den WS_EX_TRANSPARENT Flag verwende wird der Button einfach nicht transparent angezeigt. Hier ein Auszug aus meinem Quellcode (wo ich meinen Fehler vermute)</p>
<pre><code class="language-cpp">case WM_CREATE:
		{
			hOption = CreateWindowEx(WS_EX_TRANSPARENT,
			&quot;button&quot;,
			&quot;Beenden&quot;,
			WS_CHILD | WS_VISIBLE,
			0, 0, 0, 0,
			hWnd,
			NULL,
			((LPCREATESTRUCT) lParam) -&gt; hInstance,
			NULL);

			return 0;
     		 }

		case WM_SIZE:
		{
			MoveWindow(hOption, 100,400,600,75,TRUE);

			return 0;
		}
</code></pre>
<p>Und das sagt msdn dazu (was mir bei der Lösung des Problems aber nicht wirklich weitergeholfen hat):</p>
<p>WS_EX_TRANSPARENT Specifies that a window created with this style is to be transparent. That is, any windows that are beneath the window are not obscured by the window. A window created with this style receives WM_PAINT messages only after all sibling windows beneath it have been updated.</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/118334/ws_ex_transparent</link><generator>RSS for Node</generator><lastBuildDate>Fri, 03 Jul 2026 23:52:10 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/118334.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 17 Aug 2005 12:23:50 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to WS_EX_TRANSPARENT on Wed, 17 Aug 2005 12:23:50 GMT]]></title><description><![CDATA[<p>Ich hab keine Probleme mir Buttons zu erstellen und wie erwartet anzeigen zu lassen. Nur wenn ich den WS_EX_TRANSPARENT Flag verwende wird der Button einfach nicht transparent angezeigt. Hier ein Auszug aus meinem Quellcode (wo ich meinen Fehler vermute)</p>
<pre><code class="language-cpp">case WM_CREATE:
		{
			hOption = CreateWindowEx(WS_EX_TRANSPARENT,
			&quot;button&quot;,
			&quot;Beenden&quot;,
			WS_CHILD | WS_VISIBLE,
			0, 0, 0, 0,
			hWnd,
			NULL,
			((LPCREATESTRUCT) lParam) -&gt; hInstance,
			NULL);

			return 0;
     		 }

		case WM_SIZE:
		{
			MoveWindow(hOption, 100,400,600,75,TRUE);

			return 0;
		}
</code></pre>
<p>Und das sagt msdn dazu (was mir bei der Lösung des Problems aber nicht wirklich weitergeholfen hat):</p>
<p>WS_EX_TRANSPARENT Specifies that a window created with this style is to be transparent. That is, any windows that are beneath the window are not obscured by the window. A window created with this style receives WM_PAINT messages only after all sibling windows beneath it have been updated.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/854165</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/854165</guid><dc:creator><![CDATA[Noobidu]]></dc:creator><pubDate>Wed, 17 Aug 2005 12:23:50 GMT</pubDate></item><item><title><![CDATA[Reply to WS_EX_TRANSPARENT on Wed, 17 Aug 2005 12:41:23 GMT]]></title><description><![CDATA[<p>Ich denke, dass es nicht genau das ist, was Du willst.<br />
Gib den Flag mal Deinem Fenster mit und schau Dir an, wie es sich dann verhält...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/854179</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/854179</guid><dc:creator><![CDATA[Airdamn]]></dc:creator><pubDate>Wed, 17 Aug 2005 12:41:23 GMT</pubDate></item><item><title><![CDATA[Reply to WS_EX_TRANSPARENT on Wed, 17 Aug 2005 14:10:55 GMT]]></title><description><![CDATA[<p>Du müsstest dich dann aber auch beim Button darum kümmern, dass dieser sich in WM_PAINT nicht zeichnet (dazu brauchst du wohl ownerdraw und WM_CTLCOLORBTN)</p>
]]></description><link>https://www.c-plusplus.net/forum/post/854262</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/854262</guid><dc:creator><![CDATA[flenders]]></dc:creator><pubDate>Wed, 17 Aug 2005 14:10:55 GMT</pubDate></item></channel></rss>