<?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[[gelöst] Probleme mit Tab Control]]></title><description><![CDATA[<p>Hallo allerseits!</p>
<p>Ich würde gerne eine Tab Control in einen Dialog einbauen.</p>
<p>Dazu habe ich mir auch schon ein paar Beispiele angeshen, die mit von CTabCtrl abgeleiteten Klassen arbeiten:</p>
<p><a href="http://www.codersource.net/mfc_ctabctrl.html" rel="nofollow">http://www.codersource.net/mfc_ctabctrl.html</a><br />
<a href="http://simplesamples.info/MFC/CTabCtrl.php" rel="nofollow">http://simplesamples.info/MFC/CTabCtrl.php</a></p>
<p>Damit hatte ich allerdings ein paar Probleme, auf die ich vorerst mal nicht eingehe, sondern statt dessen stelle ich die Frage:</p>
<p>Kann man CTabCtrl nicht irendwie &quot;direkt&quot; nutzen, ohne davon eine eigene Klasse abzuleiten?</p>
<p>Kennt jemand Beispiele oder Tutorials dazu?</p>
<p>Danke und Gruß,<br />
Dong</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/159377/gelöst-probleme-mit-tab-control</link><generator>RSS for Node</generator><lastBuildDate>Tue, 28 Jul 2026 09:54:35 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/159377.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 14 Sep 2006 12:38:46 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to [gelöst] Probleme mit Tab Control on Thu, 14 Sep 2006 13:26:29 GMT]]></title><description><![CDATA[<p>Hallo allerseits!</p>
<p>Ich würde gerne eine Tab Control in einen Dialog einbauen.</p>
<p>Dazu habe ich mir auch schon ein paar Beispiele angeshen, die mit von CTabCtrl abgeleiteten Klassen arbeiten:</p>
<p><a href="http://www.codersource.net/mfc_ctabctrl.html" rel="nofollow">http://www.codersource.net/mfc_ctabctrl.html</a><br />
<a href="http://simplesamples.info/MFC/CTabCtrl.php" rel="nofollow">http://simplesamples.info/MFC/CTabCtrl.php</a></p>
<p>Damit hatte ich allerdings ein paar Probleme, auf die ich vorerst mal nicht eingehe, sondern statt dessen stelle ich die Frage:</p>
<p>Kann man CTabCtrl nicht irendwie &quot;direkt&quot; nutzen, ohne davon eine eigene Klasse abzuleiten?</p>
<p>Kennt jemand Beispiele oder Tutorials dazu?</p>
<p>Danke und Gruß,<br />
Dong</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1137285</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1137285</guid><dc:creator><![CDATA[dong]]></dc:creator><pubDate>Thu, 14 Sep 2006 13:26:29 GMT</pubDate></item><item><title><![CDATA[Reply to [gelöst] Probleme mit Tab Control on Thu, 14 Sep 2006 12:54:35 GMT]]></title><description><![CDATA[<p>zum theama direkt ableiten hab ich keine ahnung<br />
aber zum Thema des 2,ten links (Creating Tab Controls Using CTabCtrl)<br />
ich nutzt das selbst und ich hab damit keine probleme selbst wenn es riesen dialoge oder 20 tabs im Tabdialog sind.</p>
<p>wo liegt dein prob erzähl mal.</p>
<p>mfg<br />
LowFly</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1137306</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1137306</guid><dc:creator><![CDATA[LowFly]]></dc:creator><pubDate>Thu, 14 Sep 2006 12:54:35 GMT</pubDate></item><item><title><![CDATA[Reply to [gelöst] Probleme mit Tab Control on Thu, 14 Sep 2006 13:00:29 GMT]]></title><description><![CDATA[<p>LowFly schrieb:</p>
<blockquote>
<p>wo liegt dein prob erzähl mal.</p>
</blockquote>
<p>Na gut:<br />
Aus dem <a href="http://simplesamples.info/MFC/TabDialog.zip" rel="nofollow">Beispielprojekt</a> habe ich die Klasse CTabby ausgebaut und in ein eigenes Projekt eingebaut. (Natürlich habe ich die Dialog IDs und Klassennamen geändert...)</p>
<p>Läuft soweit auch ganz gut, nur:</p>
<p>Bei Aufruf des Dialgogs ist Tab1 angewählt, aber der passende Tab-Dialog wird nicht angezeigt.<br />
Tabwechsel funktioniert, und wenn ich von Tab2 wieder zu Tab1 zurückwechsle, wird auch dort der Tab-Dialog angezeigt.</p>
<p>Muss ich vielleicht noch was in OnInit des Hauptdialogs stecken?<br />
Ich hab da zwar noch nichts entdecken können, aber vielleicht habe ich es ja übersehen...</p>
<p>Danke und Gruß,<br />
Dong</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1137309</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1137309</guid><dc:creator><![CDATA[dong]]></dc:creator><pubDate>Thu, 14 Sep 2006 13:00:29 GMT</pubDate></item><item><title><![CDATA[Reply to [gelöst] Probleme mit Tab Control on Thu, 14 Sep 2006 13:12:39 GMT]]></title><description><![CDATA[<p>PS:<br />
Zum Nachvollziehen:<br />
Mein Testprojekt: <a href="http://home.arcor.de/c-dong/probierwiesetab.zip" rel="nofollow">http://home.arcor.de/c-dong/probierwiesetab.zip</a> (25kB)</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1137322</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1137322</guid><dc:creator><![CDATA[dong]]></dc:creator><pubDate>Thu, 14 Sep 2006 13:12:39 GMT</pubDate></item><item><title><![CDATA[Reply to [gelöst] Probleme mit Tab Control on Thu, 14 Sep 2006 13:25:56 GMT]]></title><description><![CDATA[<p>OK, ich habs selber:</p>
<p>Einfach an's Ende der PreSubclassWindow() etwas hinzufügen:</p>
<pre><code class="language-cpp">void CTabby::PreSubclassWindow() {
	...
	m_pDialogs[0]-&gt;EnableWindow(TRUE);
	m_pDialogs[0]-&gt;ShowWindow(SW_SHOW);
}
</code></pre>
<p>Wundert mich trotzdem, dass das nötig ist, in der Resource View sind bei allen Dialogen <em>disabled = false</em> und <em>visible=true</em>...</p>
<p>Edit:<br />
Nee, Quatsch, visible war auf false... *kopf gegen wand klopf...*</p>
<p>Danke und Gruß,<br />
Dong</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1137326</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1137326</guid><dc:creator><![CDATA[dong]]></dc:creator><pubDate>Thu, 14 Sep 2006 13:25:56 GMT</pubDate></item></channel></rss>