<?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[TabControl flickering]]></title><description><![CDATA[<p>Hallo,</p>
<p>das allseits beliebte Thema...<br />
Ich habe mein Hauptfenster in zwei kleinere Fenster via Childs unterteilt. (rechts &amp; links) Das linke ist ein ganz normales, das rechte habe ich als Tab Control erstellt. Um dieses Flackern zu vermeiden habe ich schonmal die WM_ERASEBKGND-Nachricht im Hauptfenster aussortiert.<br />
Allerdings beeinflusst das das Tab Control nicht. Wenn ich das Fenster verkleinere/vergrößere taucht das Flickering beim Tab Control auf.<br />
Deshalb habe ich es folgendermaßen versucht zu lösen: Ich habe das Control erstellt und gesubclasst. In der neuen WndProc habe ich die WM_ERASEBKGND-Nachricht abgefangen und 1 returned. Aber leider funktioniert es nicht. Anscheinend wird der Hintergrund bei der WM_PAINT-Nachricht gelöscht.<br />
Weiß jemand Rat?</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/87016/tabcontrol-flickering</link><generator>RSS for Node</generator><lastBuildDate>Sat, 18 Apr 2026 18:30:57 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/87016.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 24 Sep 2004 22:20:46 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to TabControl flickering on Fri, 24 Sep 2004 22:20:46 GMT]]></title><description><![CDATA[<p>Hallo,</p>
<p>das allseits beliebte Thema...<br />
Ich habe mein Hauptfenster in zwei kleinere Fenster via Childs unterteilt. (rechts &amp; links) Das linke ist ein ganz normales, das rechte habe ich als Tab Control erstellt. Um dieses Flackern zu vermeiden habe ich schonmal die WM_ERASEBKGND-Nachricht im Hauptfenster aussortiert.<br />
Allerdings beeinflusst das das Tab Control nicht. Wenn ich das Fenster verkleinere/vergrößere taucht das Flickering beim Tab Control auf.<br />
Deshalb habe ich es folgendermaßen versucht zu lösen: Ich habe das Control erstellt und gesubclasst. In der neuen WndProc habe ich die WM_ERASEBKGND-Nachricht abgefangen und 1 returned. Aber leider funktioniert es nicht. Anscheinend wird der Hintergrund bei der WM_PAINT-Nachricht gelöscht.<br />
Weiß jemand Rat?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/614513</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/614513</guid><dc:creator><![CDATA[SlimTimmy]]></dc:creator><pubDate>Fri, 24 Sep 2004 22:20:46 GMT</pubDate></item><item><title><![CDATA[Reply to TabControl flickering on Fri, 24 Sep 2004 22:28:03 GMT]]></title><description><![CDATA[<p>Benutzt du CS_HREDRAW / CS_VREDRAW ?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/614516</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/614516</guid><dc:creator><![CDATA[??????]]></dc:creator><pubDate>Fri, 24 Sep 2004 22:28:03 GMT</pubDate></item><item><title><![CDATA[Reply to TabControl flickering on Fri, 24 Sep 2004 22:39:13 GMT]]></title><description><![CDATA[<p>Das kann ich dir ehrlich gesagt nicht sagen, da es sich ja um eine Standard-Class handelt.</p>
<pre><code>TabControlHandle=CreateWindow( 
			WC_TABCONTROL, &quot;&quot;, 
			WS_CHILD | WS_CLIPSIBLINGS | WS_VISIBLE | CCS_NODIVIDER, 
			Rect.right-PanelWidth, Height, PanelWidth , Rect.bottom-Height, 
			hWnd, 0, hInst, 0 
			);
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/614519</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/614519</guid><dc:creator><![CDATA[SlimTimmy]]></dc:creator><pubDate>Fri, 24 Sep 2004 22:39:13 GMT</pubDate></item><item><title><![CDATA[Reply to TabControl flickering on Fri, 24 Sep 2004 22:58:07 GMT]]></title><description><![CDATA[<p>Ich meine das Parent-Fenster.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/614523</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/614523</guid><dc:creator><![CDATA[......]]></dc:creator><pubDate>Fri, 24 Sep 2004 22:58:07 GMT</pubDate></item><item><title><![CDATA[Reply to TabControl flickering on Sat, 25 Sep 2004 07:08:48 GMT]]></title><description><![CDATA[<p>Ja, klar. Dort habe ich keine Styles gesetzt.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/614569</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/614569</guid><dc:creator><![CDATA[SlimTimmy]]></dc:creator><pubDate>Sat, 25 Sep 2004 07:08:48 GMT</pubDate></item><item><title><![CDATA[Reply to TabControl flickering on Sat, 25 Sep 2004 22:05:16 GMT]]></title><description><![CDATA[<p>Wenn du CS_HREDRAW und CS_VREDRAW bei CreateWindowEx nicht mit angibst, sind sie nicht gesetzt.</p>
<p>Oder war das jetzt ein ausruf das du den Fehler gefunden hast?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/614998</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/614998</guid><dc:creator><![CDATA[flammenvogel]]></dc:creator><pubDate>Sat, 25 Sep 2004 22:05:16 GMT</pubDate></item></channel></rss>