<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ku__ra__ge</author_name>
  <author_url>https://blog.hatena.ne.jp/ku__ra__ge/</author_url>
  <blog_title>くらげのChangeLog</blog_title>
  <blog_url>https://culage.hatenablog.com/</blog_url>
  <categories>
    <anon>program</anon>
  </categories>
  <description>C#のユーザーコントロールで、全角文字の張り付けを許可しないテキストボックスを作成する方法。 WM_PASTEメッセージ内で全角混じりの文字かどうかを調べて、全角混じりである場合はキャンセルしている。 using System.Text; using System.Windows.Forms; public class TextBoxEx : System.Windows.Forms.TextBox { const int WM_PASTE = 0x302; protected override void WndProc(ref Message m) { switch (m.Msg) { ca…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fculage.hatenablog.com%2Fentry%2F20101110%2Fp3&quot; title=&quot;C#で全角文字の張り付けを許可しないテキストボックスを作る - くらげのChangeLog&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>2010-11-10 00:00:01</published>
  <title>C#で全角文字の張り付けを許可しないテキストボックスを作る</title>
  <type>rich</type>
  <url>https://culage.hatenablog.com/entry/20101110/p3</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
