<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kkAyataka</author_name>
  <author_url>https://blog.hatena.ne.jp/kkAyataka/</author_url>
  <blog_title>kkAyatakaのメモ帳。</blog_title>
  <blog_url>https://kkayataka.hatenablog.com/</blog_url>
  <categories>
    <anon>Windows</anon>
  </categories>
  <description>Windows Forms同じくオーバーライドかなぁと思っていたら全然違いました。 using System.Windows.Interop; var wnd = new Window(); wnd.Show(); // Show()の後で無いと取れません。 var handle = new WindowInteropHelper(wnd).Handle; var src = HwndSource.FromHwnd(handle); src.AddHook(MessageHook); private IntPtr MessageHook(IntPtr hwnd, int msg, IntPtr…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkkayataka.hatenablog.com%2Fentry%2F2014%2F10%2F14%2F210449&quot; title=&quot;WPFでWindow MessageのHook - kkAyatakaのメモ帳。&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>2014-10-14 21:04:49</published>
  <title>WPFでWindow MessageのHook</title>
  <type>rich</type>
  <url>https://kkayataka.hatenablog.com/entry/2014/10/14/210449</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
