<?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[alle Items in Treeview löschen]]></title><description><![CDATA[<p>Moin, moin,<br />
also im Listview gibt es ja die schöne Message &quot;LVM_DELETEALLITEMS&quot; um alle Items zu löschen, hmm leider hab ich nichts passendes für den Treeview gefunden, wie leere ich am schnellsten meinen Treeview restlos?</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/177407/alle-items-in-treeview-löschen</link><generator>RSS for Node</generator><lastBuildDate>Wed, 24 Jun 2026 18:12:50 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/177407.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 31 Mar 2007 07:31:29 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to alle Items in Treeview löschen on Sat, 31 Mar 2007 07:31:29 GMT]]></title><description><![CDATA[<p>Moin, moin,<br />
also im Listview gibt es ja die schöne Message &quot;LVM_DELETEALLITEMS&quot; um alle Items zu löschen, hmm leider hab ich nichts passendes für den Treeview gefunden, wie leere ich am schnellsten meinen Treeview restlos?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1256403</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1256403</guid><dc:creator><![CDATA[Suomi]]></dc:creator><pubDate>Sat, 31 Mar 2007 07:31:29 GMT</pubDate></item><item><title><![CDATA[Reply to alle Items in Treeview löschen on Sat, 31 Mar 2007 09:47:29 GMT]]></title><description><![CDATA[<p>Hi,</p>
<blockquote>
<p>TVM_DELETEITEM<br />
Handle to the item to delete. If hitem is the TVI_ROOT value, all items are deleted from the tree view control.</p>
</blockquote>
<p>MfG schirrmie</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1256471</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1256471</guid><dc:creator><![CDATA[schirrmie]]></dc:creator><pubDate>Sat, 31 Mar 2007 09:47:29 GMT</pubDate></item><item><title><![CDATA[Reply to alle Items in Treeview löschen on Sat, 31 Mar 2007 09:51:26 GMT]]></title><description><![CDATA[<p>Danke für die Antwort, aber ich habe da das Makro &quot;TreeView_DeleteAllItems&quot; entdeckt, ich versuche zwar Makros zu vermeiden, aber wenn's bequemer ist, man muss ja das Rad nicht neu erfinden.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1256474</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1256474</guid><dc:creator><![CDATA[Suomi]]></dc:creator><pubDate>Sat, 31 Mar 2007 09:51:26 GMT</pubDate></item><item><title><![CDATA[Reply to alle Items in Treeview löschen on Sat, 31 Mar 2007 09:57:22 GMT]]></title><description><![CDATA[<p>Na wenn du makros vermeiden willst dann nimm doch das SendMessage oder wie <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="😕"
    /><br />
Aber mach wie du denkst, hauptsache es funktioniert :p</p>
<p>MfG schirrmie</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1256484</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1256484</guid><dc:creator><![CDATA[schirrmie]]></dc:creator><pubDate>Sat, 31 Mar 2007 09:57:22 GMT</pubDate></item><item><title><![CDATA[Reply to alle Items in Treeview löschen on Sat, 31 Mar 2007 12:35:06 GMT]]></title><description><![CDATA[<p>Was ich damit sagen wollte ist: es gibt kein &quot;TVM_DELETEALLITEMS&quot; um es als Sendmessage zu schicken, aber das notwendige Makro &quot;TreeView_DeleteAllItems&quot; existiert.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1256558</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1256558</guid><dc:creator><![CDATA[Suomi]]></dc:creator><pubDate>Sat, 31 Mar 2007 12:35:06 GMT</pubDate></item><item><title><![CDATA[Reply to alle Items in Treeview löschen on Sat, 31 Mar 2007 12:57:46 GMT]]></title><description><![CDATA[<p>...dann guck dir schirrmie's msdn-zitat nochmal genauer an <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f609.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--winking_face"
      title=";D"
      alt="😉"
    /></p>
<p>Das TreeView_DeleteAllItems macht glaube ich nix anderes als</p>
<pre><code>SendMessage(hWnd, TVM_DELETEITEM, (WPARAM)0, (LPARAM) (HTREEITEM)NULL);
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1256572</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1256572</guid><dc:creator><![CDATA[geeky]]></dc:creator><pubDate>Sat, 31 Mar 2007 12:57:46 GMT</pubDate></item><item><title><![CDATA[Reply to alle Items in Treeview löschen on Sat, 31 Mar 2007 17:41:26 GMT]]></title><description><![CDATA[<p>Ah da hab ihr Recht, ich dachte man kann mit diese Message nur einzele Items die man im LPARAM angibt löschen, die MSDN hat mir da nicht viel geholfen, aber ausprobiert und geht, danke für den Hinweis wieder was gelernt.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1256756</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1256756</guid><dc:creator><![CDATA[Suomi]]></dc:creator><pubDate>Sat, 31 Mar 2007 17:41:26 GMT</pubDate></item></channel></rss>