<?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[Transparente Fenstern]]></title><description><![CDATA[<pre><code class="language-cpp">g_hWnd = CreateWindowEx(WS_EX_LAYERED,
					  classname,
					  L&quot;Own Control&quot;,
					  WS_OVERLAPPEDWINDOW,
					  CW_USEDEFAULT,
					  CW_USEDEFAULT,
					  CW_USEDEFAULT,
					  CW_USEDEFAULT,
					  NULL,
					  NULL,
					  hInstance,
					  NULL);

SetLayeredWindowAttributes(g_hWnd, RGB(100, 0, 0), 100, LWA_ALPHA);
</code></pre>
<p>Funktioniert nicht, beim compilieren kommen Fehler:</p>
<p>1&gt;.\WinMain.cpp(41) : error C2065: 'WS_EX_LAYERED': nichtdeklarierter Bezeichner<br />
1&gt;.\WinMain.cpp(54) : error C2065: 'LWA_ALPHA': nichtdeklarierter Bezeichner<br />
1&gt;.\WinMain.cpp(54) : error C3861: &quot;SetLayeredWindowAttributes&quot;: Bezeichner wurde nicht gefunden.</p>
<p>Ich habe das PSKD installiert und windows.h eingebunden, wie es in der msdn beschrieben ist.</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/134018/transparente-fenstern</link><generator>RSS for Node</generator><lastBuildDate>Sat, 11 Jul 2026 17:34:40 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/134018.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 23 Jan 2006 05:56:53 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Transparente Fenstern on Mon, 23 Jan 2006 05:56:53 GMT]]></title><description><![CDATA[<pre><code class="language-cpp">g_hWnd = CreateWindowEx(WS_EX_LAYERED,
					  classname,
					  L&quot;Own Control&quot;,
					  WS_OVERLAPPEDWINDOW,
					  CW_USEDEFAULT,
					  CW_USEDEFAULT,
					  CW_USEDEFAULT,
					  CW_USEDEFAULT,
					  NULL,
					  NULL,
					  hInstance,
					  NULL);

SetLayeredWindowAttributes(g_hWnd, RGB(100, 0, 0), 100, LWA_ALPHA);
</code></pre>
<p>Funktioniert nicht, beim compilieren kommen Fehler:</p>
<p>1&gt;.\WinMain.cpp(41) : error C2065: 'WS_EX_LAYERED': nichtdeklarierter Bezeichner<br />
1&gt;.\WinMain.cpp(54) : error C2065: 'LWA_ALPHA': nichtdeklarierter Bezeichner<br />
1&gt;.\WinMain.cpp(54) : error C3861: &quot;SetLayeredWindowAttributes&quot;: Bezeichner wurde nicht gefunden.</p>
<p>Ich habe das PSKD installiert und windows.h eingebunden, wie es in der msdn beschrieben ist.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/973553</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/973553</guid><dc:creator><![CDATA[Tc++H]]></dc:creator><pubDate>Mon, 23 Jan 2006 05:56:53 GMT</pubDate></item><item><title><![CDATA[Reply to Transparente Fenstern on Mon, 23 Jan 2006 06:35:12 GMT]]></title><description><![CDATA[<pre><code class="language-cpp">#define _WIN32_WINNT 0x0500
#include &lt;windows.h&gt;
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/973561</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/973561</guid><dc:creator><![CDATA[Jochen Kalmbach]]></dc:creator><pubDate>Mon, 23 Jan 2006 06:35:12 GMT</pubDate></item><item><title><![CDATA[Reply to Transparente Fenstern on Mon, 23 Jan 2006 17:17:42 GMT]]></title><description><![CDATA[<p>#define LWA_COLORKEY 1<br />
#define LWA_ALPHA 2</p>
<p>Damit gings bei mir!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/974165</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/974165</guid><dc:creator><![CDATA[misterzylinder]]></dc:creator><pubDate>Mon, 23 Jan 2006 17:17:42 GMT</pubDate></item></channel></rss>