<?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[Dialogbox Style nachträglich ändern]]></title><description><![CDATA[<p>Hallo,</p>
<p>ich möchte den Style WS_CAPTION der Dialogbox &quot;ChooseColor&quot; nachräglich entfernen, deshalb rufe ich bei deren Inizialisierung folgendes auf:</p>
<pre><code class="language-cpp">case WM_INITDIALOG:{
        DWORD        style;

        style = GetWindowLong(hWnd, GWL_STYLE);
        style - (WS_CAPTION + WS_SYSMENU);
        SetWindowLong(hWnd, GWL_STYLE, style);
        break;
    }
</code></pre>
<p>so die Caption ist dann noch da, jedoch läßt sich das Fenster nicht mehr über die Caption verschieben. Was muss ich machen damit die Caption ganz weg ist?</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/209883/dialogbox-style-nachträglich-ändern</link><generator>RSS for Node</generator><lastBuildDate>Wed, 22 Apr 2026 05:02:54 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/209883.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 04 Apr 2008 12:40:58 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Dialogbox Style nachträglich ändern on Fri, 04 Apr 2008 12:40:58 GMT]]></title><description><![CDATA[<p>Hallo,</p>
<p>ich möchte den Style WS_CAPTION der Dialogbox &quot;ChooseColor&quot; nachräglich entfernen, deshalb rufe ich bei deren Inizialisierung folgendes auf:</p>
<pre><code class="language-cpp">case WM_INITDIALOG:{
        DWORD        style;

        style = GetWindowLong(hWnd, GWL_STYLE);
        style - (WS_CAPTION + WS_SYSMENU);
        SetWindowLong(hWnd, GWL_STYLE, style);
        break;
    }
</code></pre>
<p>so die Caption ist dann noch da, jedoch läßt sich das Fenster nicht mehr über die Caption verschieben. Was muss ich machen damit die Caption ganz weg ist?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1486431</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1486431</guid><dc:creator><![CDATA[ANSI Hansi]]></dc:creator><pubDate>Fri, 04 Apr 2008 12:40:58 GMT</pubDate></item></channel></rss>