<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tera1707</author_name>
  <author_url>https://blog.hatena.ne.jp/tera1707/</author_url>
  <blog_title>tera1707’s blog</blog_title>
  <blog_url>https://tera1707.com/</blog_url>
  <categories>
    <anon>C++</anon>
  </categories>
  <description>もくじ https://tera1707.com/entry/2022/02/06/144447 やりたいこと アプリのデバッグで、特定のウインドウメッセージ(WM_XXXXX)を受け取ったときの動作を見たいときがあった。 Windowsサービスのプログラムだと、以前の記事で調べたように、sc controlコマンドで好きなメッセージ(サービスコントロール)を送れるが、特定のウインドウに好きなWMメッセージを送れるようなコマンドが見当たらなかった。 デバッグ用に、そういうのを作ってみる。 コード とりあえず、Notepad.exeにWM_CLOSEを送ってウインドウを閉じるプログラムを作ってみ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftera1707.com%2Fentry%2F2023%2F04%2F30%2F020221&quot; title=&quot; 指定exeのウインドウにWM_CLOSEを投げる - tera1707’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/t/tera1707/20230430/20230430015850.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2023-04-30 02:02:21</published>
  <title> 指定exeのウインドウにWM_CLOSEを投げる</title>
  <type>rich</type>
  <url>https://tera1707.com/entry/2023/04/30/020221</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
