<?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[cs_dropshadow]]></title><description><![CDATA[<p>Ich habe einen Dialog den ich so aufrufe:</p>
<pre><code class="language-cpp">DialogBox(hInstance,MAKEINTRESOURCE(IDD_DIALOG), HWND_DESKTOP, (DLGPROC)DlgProc);
</code></pre>
<p>jetzt möchte ich diesem Diaog einen Windows XP Schatteneffekt geben.<br />
Ich habe es so probiert:</p>
<pre><code class="language-cpp">SetWindowLong(hwndDlg, GWL_EXSTYLE, GetWindowLong(hwndDlg, GWL_EXSTYLE) | CS_DROPSHADOW);
</code></pre>
<p>ich habs auch schon mit GWL_STYLE probiert geht aber auch nicht.<br />
Wenn ich ein Fenster mit CreateWindowEx erzeuge und gleich cs_dropshadow zuweise geht es.<br />
Weiß jemandt wie ich Schatten bei einem Dialog hinbekomme? (nach dem erzeugen)</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/67995/cs_dropshadow</link><generator>RSS for Node</generator><lastBuildDate>Wed, 08 Apr 2026 13:59:01 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/67995.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 13 Mar 2004 19:30:15 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to cs_dropshadow on Sat, 13 Mar 2004 19:30:15 GMT]]></title><description><![CDATA[<p>Ich habe einen Dialog den ich so aufrufe:</p>
<pre><code class="language-cpp">DialogBox(hInstance,MAKEINTRESOURCE(IDD_DIALOG), HWND_DESKTOP, (DLGPROC)DlgProc);
</code></pre>
<p>jetzt möchte ich diesem Diaog einen Windows XP Schatteneffekt geben.<br />
Ich habe es so probiert:</p>
<pre><code class="language-cpp">SetWindowLong(hwndDlg, GWL_EXSTYLE, GetWindowLong(hwndDlg, GWL_EXSTYLE) | CS_DROPSHADOW);
</code></pre>
<p>ich habs auch schon mit GWL_STYLE probiert geht aber auch nicht.<br />
Wenn ich ein Fenster mit CreateWindowEx erzeuge und gleich cs_dropshadow zuweise geht es.<br />
Weiß jemandt wie ich Schatten bei einem Dialog hinbekomme? (nach dem erzeugen)</p>
]]></description><link>https://www.c-plusplus.net/forum/post/479774</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/479774</guid><dc:creator><![CDATA[Zapology]]></dc:creator><pubDate>Sat, 13 Mar 2004 19:30:15 GMT</pubDate></item><item><title><![CDATA[Reply to cs_dropshadow on Sat, 13 Mar 2004 20:30:42 GMT]]></title><description><![CDATA[<p>CS_DROPSHADOW ist ein Class-Style kein Fenster-Style, d.h. du brauchst SetClassLong/Ptr</p>
<p>[msdn]SetClassLong[/msdn]<br />
[msdn]SetClassLongPtr[/msdn]</p>
]]></description><link>https://www.c-plusplus.net/forum/post/479793</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/479793</guid><dc:creator><![CDATA[Shlo]]></dc:creator><pubDate>Sat, 13 Mar 2004 20:30:42 GMT</pubDate></item><item><title><![CDATA[Reply to cs_dropshadow on Sat, 13 Mar 2004 21:33:52 GMT]]></title><description><![CDATA[<p>ups ... übersehen <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f603.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--grinning_face_with_big_eyes"
      title=":D"
      alt="😃"
    /></p>
<p>danke jetzt klapts</p>
]]></description><link>https://www.c-plusplus.net/forum/post/479819</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/479819</guid><dc:creator><![CDATA[Zapology]]></dc:creator><pubDate>Sat, 13 Mar 2004 21:33:52 GMT</pubDate></item></channel></rss>