<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ramen26</author_name>
  <author_url>https://blog.hatena.ne.jp/ramen26/</author_url>
  <blog_title>元気よく。</blog_title>
  <blog_url>https://ramen26.hatenadiary.org/</blog_url>
  <categories>
    <anon>MFC</anon>
  </categories>
  <description>ツリーを削除するにあたり、DeleteAllItems() で一網打尽してやろーと思ったのですが、、、各ノードに new したポインタを ItemData として紐付けていたので、そいつらを逐一 delete してやらねばならんと。 で、全ノードを走査するコードを書いてみたが、こんなカンジでよいのかね。 VOID CXXXDialog::DeleteItemData(HTREEITEM hItem) { if (hItem != TVI_ROOT) { CString *strId = (CString *)m_xcTree.GetItemData(hItem); delete strId; …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Framen26.hatenadiary.org%2Fentry%2F20100318%2F1268897514&quot; title=&quot;CTreeCtrl の全ノードを走査する - 元気よく。&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2010-03-18 16:31:54</published>
  <title>CTreeCtrl の全ノードを走査する</title>
  <type>rich</type>
  <url>https://ramen26.hatenadiary.org/entry/20100318/1268897514</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
