<?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[Fenster nach Style-Wechsel updaten]]></title><description><![CDATA[<p>Hi,</p>
<p>ich nochmal.<br />
Wenn ich einem Fenster einen extendet style mit SetWindowLong zuweise, wird das Fenster erst in dem neuen Style angezeigt, wenn ich es verschiebe oä.<br />
Wie kann man das ganze Fenster manuell neu zeichnen lassen?</p>
<p>InvalidateRect funktioniert ja nur in der ClientArea und UpdateWindow funzt auch nicht...</p>
<p>Danke!</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/156462/fenster-nach-style-wechsel-updaten</link><generator>RSS for Node</generator><lastBuildDate>Thu, 23 Jul 2026 04:40:36 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/156462.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 16 Aug 2006 19:31:27 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Fenster nach Style-Wechsel updaten on Wed, 16 Aug 2006 19:31:27 GMT]]></title><description><![CDATA[<p>Hi,</p>
<p>ich nochmal.<br />
Wenn ich einem Fenster einen extendet style mit SetWindowLong zuweise, wird das Fenster erst in dem neuen Style angezeigt, wenn ich es verschiebe oä.<br />
Wie kann man das ganze Fenster manuell neu zeichnen lassen?</p>
<p>InvalidateRect funktioniert ja nur in der ClientArea und UpdateWindow funzt auch nicht...</p>
<p>Danke!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1118701</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1118701</guid><dc:creator><![CDATA[alexxxx]]></dc:creator><pubDate>Wed, 16 Aug 2006 19:31:27 GMT</pubDate></item><item><title><![CDATA[Reply to Fenster nach Style-Wechsel updaten on Wed, 16 Aug 2006 19:45:18 GMT]]></title><description><![CDATA[<p>Sollte man den Extended Style nicht beim Erstellen mit <em>CreateWindowEx( )</em> setzen?<br />
Funktioniert es denn mit</p>
<pre><code class="language-cpp">ShowWindow( SW_HIDE );
ShowWindow( SW_SHOW );
</code></pre>
<p>nach <em>SetWindowLong( )</em>?</p>
<p>BTW: Möchtest du kompatibel zu 64-Bit Windows sein benutze <em>SetWindowLongPtr( )</em>!</p>
<p>Greetz, Swordfish</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1118710</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1118710</guid><dc:creator><![CDATA[Swordfish]]></dc:creator><pubDate>Wed, 16 Aug 2006 19:45:18 GMT</pubDate></item><item><title><![CDATA[Reply to Fenster nach Style-Wechsel updaten on Wed, 16 Aug 2006 20:01:36 GMT]]></title><description><![CDATA[<p>alexxxx schrieb:</p>
<blockquote>
<p>Hi,</p>
<p>ich nochmal.<br />
Wenn ich einem Fenster einen extendet style mit SetWindowLong zuweise, wird das Fenster erst in dem neuen Style angezeigt, wenn ich es verschiebe oä.<br />
Wie kann man das ganze Fenster manuell neu zeichnen lassen?</p>
</blockquote>
<p>Na da musste SetWindowPos mit entsprechenden Parametern aufrufen...denn:</p>
<p>MSDN zu SetWindowPos(...) schrieb:</p>
<blockquote>
<p>If you have changed certain window data using SetWindowLong, you must call SetWindowPos to have the changes take effect. Use the following combination for uFlags: SWP_NOMOVE | SWP_NOSIZE | SWP_NOZORDER | SWP_FRAMECHANGED.</p>
</blockquote>
]]></description><link>https://www.c-plusplus.net/forum/post/1118717</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1118717</guid><dc:creator><![CDATA[CodeFinder]]></dc:creator><pubDate>Wed, 16 Aug 2006 20:01:36 GMT</pubDate></item><item><title><![CDATA[Reply to Fenster nach Style-Wechsel updaten on Wed, 16 Aug 2006 21:27:28 GMT]]></title><description><![CDATA[<p>Okay, thx!!!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1118764</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1118764</guid><dc:creator><![CDATA[alexxxx]]></dc:creator><pubDate>Wed, 16 Aug 2006 21:27:28 GMT</pubDate></item></channel></rss>