<?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[Dialog ohne Rahmen ?]]></title><description><![CDATA[<p>Ich möchte Eigenschaften eines Dialogs zur Laufzeit festlegen.<br />
Dabei insbesondere das dieser Dialog keine Rahmen haben soll.<br />
Wie machen ich das ?</p>
<p>Matthias</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/174574/dialog-ohne-rahmen</link><generator>RSS for Node</generator><lastBuildDate>Sat, 25 Apr 2026 09:30:39 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/174574.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 28 Feb 2007 17:34:11 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Dialog ohne Rahmen ? on Wed, 28 Feb 2007 17:34:11 GMT]]></title><description><![CDATA[<p>Ich möchte Eigenschaften eines Dialogs zur Laufzeit festlegen.<br />
Dabei insbesondere das dieser Dialog keine Rahmen haben soll.<br />
Wie machen ich das ?</p>
<p>Matthias</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1236955</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1236955</guid><dc:creator><![CDATA[pospiech]]></dc:creator><pubDate>Wed, 28 Feb 2007 17:34:11 GMT</pubDate></item><item><title><![CDATA[Reply to Dialog ohne Rahmen ? on Thu, 01 Mar 2007 09:56:05 GMT]]></title><description><![CDATA[<p>Ich gehe mal vom schlimmsten Fall aus, dass der Dialog modal ist und schon angezeigt wird. Um den Rahmen zu entfernen, könnte folgender Code innerhalb der Dialogklasse helfen (ist nicht getestet, keine Garantie):</p>
<pre><code>LONG style = ::GetWindowLong(m_hWnd, GWL_STYLE);
style &amp;= ~WS_BORDER;
style &amp;= ~WS_DLGFRAME;
style &amp;= ~WS_THICKFRAME;
::SetWindowLong(m_hWnd, GWL_STYLE, style);

// Auf ähnliche Weise evtl. auch die WS_EX...-Styles zurücksetzen!
// ...

SetWindowPos(0, 0, 0, 0, 0,
  SWP_DRAWFRAME|SWP_FRAMECHANGED|SWP_NOMOVE|SWP_NOSIZE|SWP_NOZORDER);
</code></pre>
<p>Gruß Frdln</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1237276</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1237276</guid><dc:creator><![CDATA[Frndl]]></dc:creator><pubDate>Thu, 01 Mar 2007 09:56:05 GMT</pubDate></item><item><title><![CDATA[Reply to Dialog ohne Rahmen ? on Thu, 01 Mar 2007 10:45:29 GMT]]></title><description><![CDATA[<p>Geht in der MFC etwas einfacher mit ModifyStyle.</p>
<pre><code class="language-cpp">myWnd-&gt;ModifyStyle(WS_BORDER|WS_DLGFRAME|WS_THICKFRAME,0);
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1237318</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1237318</guid><dc:creator><![CDATA[Martin Richter]]></dc:creator><pubDate>Thu, 01 Mar 2007 10:45:29 GMT</pubDate></item><item><title><![CDATA[Reply to Dialog ohne Rahmen ? on Thu, 01 Mar 2007 10:52:56 GMT]]></title><description><![CDATA[<p>Martin Richter schrieb:</p>
<blockquote>
<p>Geht in der MFC etwas einfacher mit ModifyStyle.</p>
<pre><code class="language-cpp">myWnd-&gt;ModifyStyle(WS_BORDER|WS_DLGFRAME|WS_THICKFRAME,0);
</code></pre>
</blockquote>
<p>Worauf bezieht sich dann myWnd ?</p>
<p>Matthias</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1237326</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1237326</guid><dc:creator><![CDATA[pospiech]]></dc:creator><pubDate>Thu, 01 Mar 2007 10:52:56 GMT</pubDate></item><item><title><![CDATA[Reply to Dialog ohne Rahmen ? on Thu, 01 Mar 2007 11:02:41 GMT]]></title><description><![CDATA[<p>Auf deinen Dialog.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1237332</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1237332</guid><dc:creator><![CDATA[connan]]></dc:creator><pubDate>Thu, 01 Mar 2007 11:02:41 GMT</pubDate></item></channel></rss>