<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ytqwerty</author_name>
  <author_url>https://blog.hatena.ne.jp/ytqwerty/</author_url>
  <blog_title>Note</blog_title>
  <blog_url>https://ytqwerty.hatenadiary.org/</blog_url>
  <categories>
    <anon>Thebe</anon>
    <anon>EOFile</anon>
    <anon>Win32</anon>
  </categories>
  <description>thebe.exeやeofile.exeが複数起動された場合、ThebeではWM_COPYDATA、EOFileではDDEによって、元からあるプロセスに通知を行い、元からあるプロセスが新しくスレッドを作りウィンドウを開きます。 この時、元からあるプロセスは、当然フォアグラウンドでは有り得ませんので、新しいウィンドウはSetForegroundWindowで前面に出す必要があります。 SetForegroundWindowが有効なのは、SDKによりますと、SetForegroundWindow APIを呼び出したプロセスが、以下の条件を満たす時だそうです。 The process is the …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fytqwerty.hatenadiary.org%2Fentry%2F20050811%2Fp1&quot; title=&quot; SetForegroundWindow - Note&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>2005-08-11 00:00:00</published>
  <title> SetForegroundWindow</title>
  <type>rich</type>
  <url>https://ytqwerty.hatenadiary.org/entry/20050811/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
