<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>sirocco</author_name>
  <author_url>https://blog.hatena.ne.jp/sirocco/</author_url>
  <blog_title>sirocco の書いてもすぐに忘れるメモ</blog_title>
  <blog_url>https://sirocco.hatenadiary.org/</blog_url>
  <categories>
    <anon>wxHaskell</anon>
    <anon>C</anon>
    <anon>MS-Windows</anon>
  </categories>
  <description>重い処理をしながら textCtrl に記入しようとすると、Windows のイベントループが回らなくなって（応答なし）になってしまい、処理が終了すると一括して表示されてしまうという不具合が起きました。 重い処理をしながら結果をtextCtrl に記入したいのですが、うまく行かないのです。「.NET TIPS/時間がかかる処理での「応答なし」を回避するには？」を参考にWindowsメッセージを処理する関数をC で書き、textCtrl に書き込むたびに呼ぶようにし、解決しました。 -- ghc --make Main.hs message.c -o msg.exe {-# LANGUAGE F…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsirocco.hatenadiary.org%2Fentry%2F20101110%2F1289378331&quot; title=&quot;wxHaskell での「応答なし」を回避する。 - sirocco の書いてもすぐに忘れるメモ&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/s/sirocco/20101110/20101110173127.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2010-11-10 17:38:51</published>
  <title>wxHaskell での「応答なし」を回避する。</title>
  <type>rich</type>
  <url>https://sirocco.hatenadiary.org/entry/20101110/1289378331</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
