<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>BG1</author_name>
  <author_url>https://blog.hatena.ne.jp/BG1/</author_url>
  <blog_title>車輪のx発明 ~B.G's Blog~</blog_title>
  <blog_url>https://bg1.hatenablog.com/</blog_url>
  <categories>
    <anon>Test</anon>
  </categories>
  <description>CWindow::GetWindowTextを実装して、テキストを取得できるようにする。 Window.hで、GetWindowTextを追加。 Window.cppで、中で、Win32APIのGetWindowTextを呼んでる。 MainWindow.cppは、テキストの長さを取得して、その長さ + 1のバッファを用意し、取得したテキストはそこに格納。 Item1-1を選択すると、Item1-1を選択すると、 &quot;Edit1&quot;というテキストが取得できる&quot;Edit1&quot;というm_pEditのテキストが取得できる。Test/winapi/CWindow/GetWindowText/src/CWin…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbg1.hatenablog.com%2Fentry%2F2022%2F08%2F17%2F213000&quot; title=&quot;CWindow::GetWindowText - 車輪のx発明 ~B.G&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>https://cdn-ak.f.st-hatena.com/images/fotolife/B/BG1/20220817/20220817093416.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2022-08-17 21:30:00</published>
  <title>CWindow::GetWindowText</title>
  <type>rich</type>
  <url>https://bg1.hatenablog.com/entry/2022/08/17/213000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
