<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>shikaku</author_name>
  <author_url>https://blog.hatena.ne.jp/shikaku/</author_url>
  <blog_title>shikaku's blog</blog_title>
  <blog_url>https://blog.systemjp.net/</blog_url>
  <categories>
    <anon>MFC</anon>
  </categories>
  <description>SetMenuItemInfoで変更できます。 TCHAR buf[] = TEXT(&quot;新メニュー文字列&quot;); MENUITEMINFO mii = { sizeof(mii) }; mii.fMask = MIIM_STRING; mii.dwTypeData = buf; pMenu-&gt;SetMenuItemInfo(2, &amp;mii, TRUE);セパレータも意識して項目の順番指定してね。 SetMenuItemInfo関数でメニュー項目のデータを取得する場合、引数となるMENUITEMINFO 構造体のcbSizeメンバにsizeof(MENUITEMINFO)を代入してから関数を使用す…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.systemjp.net%2Fentry%2F2016%2F02%2F23%2F102112&quot; title=&quot;CMenuでメニュー項目の文字列を動的変更 - shikaku&amp;#39;s blog&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>2016-02-23 10:21:12</published>
  <title>CMenuでメニュー項目の文字列を動的変更</title>
  <type>rich</type>
  <url>https://blog.systemjp.net/entry/2016/02/23/102112</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
