<?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[Wie instanziiere ich TTreeNodes]]></title><description><![CDATA[<p>Das hier geht ja leider nicht:</p>
<pre><code class="language-cpp">TTreeNodes *nodes = new TTreeNodes();
</code></pre>
<p>Wie mach ich das richtig? (sie TTreeNodes nicht TTreeNode)</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/205833/wie-instanziiere-ich-ttreenodes</link><generator>RSS for Node</generator><lastBuildDate>Wed, 19 Aug 2026 22:00:10 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/205833.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 18 Feb 2008 14:45:49 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Wie instanziiere ich TTreeNodes on Mon, 18 Feb 2008 14:45:49 GMT]]></title><description><![CDATA[<p>Das hier geht ja leider nicht:</p>
<pre><code class="language-cpp">TTreeNodes *nodes = new TTreeNodes();
</code></pre>
<p>Wie mach ich das richtig? (sie TTreeNodes nicht TTreeNode)</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1458232</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1458232</guid><dc:creator><![CDATA[C++Noobie]]></dc:creator><pubDate>Mon, 18 Feb 2008 14:45:49 GMT</pubDate></item><item><title><![CDATA[Reply to Wie instanziiere ich TTreeNodes on Mon, 18 Feb 2008 14:51:00 GMT]]></title><description><![CDATA[<p>was kommt denn für eine Fehlermeldung? denn &quot;geht nicht&quot; ist keine.</p>
<p>eventuell hilft ja auch ein Blick in die BCB-Hilfe zum Konstruktor von <em>TTreeNodes</em></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1458236</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1458236</guid><dc:creator><![CDATA[Linnea]]></dc:creator><pubDate>Mon, 18 Feb 2008 14:51:00 GMT</pubDate></item><item><title><![CDATA[Reply to Wie instanziiere ich TTreeNodes on Mon, 18 Feb 2008 14:52:29 GMT]]></title><description><![CDATA[<p>[C++ Fehler] Unit1.cpp(20): E2285 Keine Übereinstimmung für 'TTreeNodes::TTreeNodes()' gefunden</p>
<p>Wie instanziiere ich denn TTreeNodes. Laut BCB6 Hilfe:</p>
<blockquote>
<p>Die Methode erstellt eine Instanz eines TTreeNodes-Objekts.</p>
<p>__fastcall TTreeNodes(TCustomTreeView* AOwner);</p>
<p>Beschreibung</p>
<p>Durch einen indirekten Aufruf von TTreeNodes über das Schlüsselwort <strong>new</strong> instantiieren Sie zur Laufzeit ein TTreeNodes-Objekt. Das von TTreeView verwendete TTreeNodes-Objekt wird vom Konstruktor des Baumdiagrams automatisch erzeugt.</p>
</blockquote>
]]></description><link>https://www.c-plusplus.net/forum/post/1458237</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1458237</guid><dc:creator><![CDATA[C++Noobie]]></dc:creator><pubDate>Mon, 18 Feb 2008 14:52:29 GMT</pubDate></item><item><title><![CDATA[Reply to Wie instanziiere ich TTreeNodes on Mon, 18 Feb 2008 14:54:31 GMT]]></title><description><![CDATA[<p>und was lernst du daraus? speziell hieraus:</p>
<pre><code>TTreeNodes([b]TCustomTreeView* AOwner[/b]);
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1458238</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1458238</guid><dc:creator><![CDATA[Linnea]]></dc:creator><pubDate>Mon, 18 Feb 2008 14:54:31 GMT</pubDate></item><item><title><![CDATA[Reply to Wie instanziiere ich TTreeNodes on Mon, 18 Feb 2008 14:59:30 GMT]]></title><description><![CDATA[<p>Heißt das, ich brauche einen TreeView um diese TreeNodes zu erstellen? Dabei möchte ich doch nur, ein Paket TreeNodes an eine Klasse als Übergabe liefern <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f615.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--confused_face"
      title=":confused:"
      alt="😕"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1458240</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1458240</guid><dc:creator><![CDATA[C++Noobie]]></dc:creator><pubDate>Mon, 18 Feb 2008 14:59:30 GMT</pubDate></item><item><title><![CDATA[Reply to Wie instanziiere ich TTreeNodes on Mon, 18 Feb 2008 15:03:57 GMT]]></title><description><![CDATA[<p>Hallo</p>
<p>Wenn die TreeNodes ein Teiles eines TreeView sind, dann must du ja nur einen Pointer auf die existierenden Nodes übergeben. Aber Nodes ohne View kannst du nicht erstellen, was auch keinen Sinn macht weil du die Nodes ohne View ja auch gar nicht in eine Baumstruktur bekommst (TTreeNode::Parent ist readonly)</p>
<p>bis bald<br />
akari</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1458243</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1458243</guid><dc:creator><![CDATA[akari]]></dc:creator><pubDate>Mon, 18 Feb 2008 15:03:57 GMT</pubDate></item><item><title><![CDATA[Reply to Wie instanziiere ich TTreeNodes on Mon, 18 Feb 2008 15:06:45 GMT]]></title><description><![CDATA[<p>Danke Akari, das ist gut zu wissen, da ich nun den TreeView mit übergeben muss, und nicht den Container. Es war halt geplant das sich meine Klassen nur über Schnittstellen kennen, deshalb kennt halt Klasse b den TreeView von Klasse a nicht.</p>
<p>Aber so hab ich jetzt eine Vorstellung, wie ich das machen muss.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1458244</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1458244</guid><dc:creator><![CDATA[C++Noobie]]></dc:creator><pubDate>Mon, 18 Feb 2008 15:06:45 GMT</pubDate></item><item><title><![CDATA[Reply to Wie instanziiere ich TTreeNodes on Mon, 18 Feb 2008 15:27:36 GMT]]></title><description><![CDATA[<p>Hallo</p>
<p>Wenn du wirklich bei einer allgemeinen Schnittstelle bleiben willst must du eben eine andere, manuelle Baumstruktur verwenden (gibt sicher im Netz genug Templates dafür zu finden) und eine interne Umwandlung in TTreeNodes für TreeView einbauen.</p>
<p>bis bald<br />
akari</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1458260</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1458260</guid><dc:creator><![CDATA[akari]]></dc:creator><pubDate>Mon, 18 Feb 2008 15:27:36 GMT</pubDate></item></channel></rss>