{"id":307,"date":"2007-01-11T23:43:53","date_gmt":"2007-01-11T14:43:53","guid":{"rendered":"http:\/\/www.mainami.com\/~amano\/blog\/wp\/?p=306"},"modified":"2007-01-11T23:43:53","modified_gmt":"2007-01-11T14:43:53","slug":"textbox%e3%82%b3%e3%83%b3%e3%83%88%e3%83%ad%e3%83%bc%e3%83%ab%e3%81%ae%e3%82%b9%e3%82%af%e3%83%ad%e3%83%bc%e3%83%ab%e3%82%92%e6%93%8d%e4%bd%9c%e3%81%99%e3%82%8b","status":"publish","type":"post","link":"http:\/\/miku39.jp\/blog\/wp\/?p=307","title":{"rendered":"TextBox\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u306e\u30b9\u30af\u30ed\u30fc\u30eb\u3092\u64cd\u4f5c\u3059\u308b"},"content":{"rendered":"<p>C#(.NET (Compact) Framework)\u306eTextBox\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u306f\u8907\u6570\u884c\u306e\u30c6\u30ad\u30b9\u30c8\u3092\u6271\u3048\u308b\u304c\u30b9\u30af\u30ed\u30fc\u30eb\u3092\u64cd\u4f5c\u3059\u308b\u30e1\u30bd\u30c3\u30c9\u304c\u898b\u5f53\u305f\u3089\u306a\u3044\u3002IRC\u306e\u30c1\u30e3\u30c3\u30c8\u8868\u793a\u9818\u57df\u3067\u3001\u672b\u5c3e\u306b\u65b0\u7740\u30c6\u30ad\u30b9\u30c8\u3092\u8ffd\u52a0\u3057\u3066\u3044\u3063\u3066\u3082\u30b9\u30af\u30ed\u30fc\u30eb\u30d0\u30fc\u306f\u305a\u3063\u3068\u6700\u4e0a\u6bb5\u306b\u3044\u3066\u65b0\u7740\u3092\u8868\u793a\u3067\u304d\u306a\u3044\u3001Select\u30e1\u30bd\u30c3\u30c9\u3067\u30ab\u30fc\u30bd\u30eb\u52d5\u304b\u3057\u3066\u3082\u30b9\u30af\u30ed\u30fc\u30eb\u30d0\u30fc\u306f\u52d5\u304b\u306a\u3044\u3001\u3055\u3066\u56f0\u3063\u305f\u2026\u3063\u3066\u3068\u3053\u308d\u3067\u30b0\u30b0\u3063\u3066\u3044\u305f\u306e\u3060\u3051\u3069\u3001C#\u304b\u3089Win32 API\u3092\u547c\u3079\u308b\u306e\u304f\u308f\u30fc\u3068\u77e5\u3063\u305f\u306e\u3067\uff08\u2190C#\u306f\u521d\u3081\u3066\u4f7f\u7528\uff09\u3001\u76f4\u63a5\u30a8\u30c7\u30a3\u30c3\u30c8\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u3092\u64cd\u4f5c\u3059\u308b\u3053\u3068\u306b\u3002<br \/>\n\u307e\u305a\u306f\u3001\u30a8\u30c7\u30a3\u30c3\u30c8\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u3092\u64cd\u4f5c\u3059\u308b\u306b\u306f\u30a6\u30a3\u30f3\u30c9\u30a6\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u9001\u308a\u3064\u3051\u306a\u304f\u3066\u306f\u306a\u3089\u306a\u3044\u306e\u3067 SendMessage API\u3092\u547c\u3079\u308b\u3088\u3046\u306b\u30af\u30e9\u30b9\u5185\u3067\u5ba3\u8a00\u3059\u308b\u3002<br \/>\n<code><br \/>\n[DllImport(\"coredll.dll\")]\nextern static int SendMessage(IntPtr handle,<br \/>\nuint msg, uint wparam,uint lparam);<br \/>\n<\/code><br \/>\nWindows Mobile 5.0\u304c\u30bf\u30fc\u30b2\u30c3\u30c8\u306a\u306e\u3067coredll.dll\u3060\u3051\u3069\u3001\u901a\u5e38\u306eWindows\u306a\u3089 kernel32.dll \u3067\u3002<br \/>\n\u3059\u308b\u3068\u3001SendMessage\u304c\u4f7f\u3048\u308b\u3088\u3046\u306b\u306a\u308b\u306e\u3067\u3001\u30a8\u30c7\u30a3\u30c3\u30c8\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u306b\u307e\u3064\u308f\u308b\u30a6\u30a3\u30f3\u30c9\u30a6\u30e1\u30c3\u30bb\u30fc\u30b8(EM\u7cfb)\u3092\u4f7f\u3063\u3066\u30b9\u30af\u30ed\u30fc\u30eb\u3055\u305b\u3066\u3057\u307e\u3048\u3070\u3088\u3044\u3002<br \/>\nIRC\u306e\u65b0\u7740\u30c6\u30ad\u30b9\u30c8\u3092\u672b\u5c3e\u306b\u8ffd\u52a0\u3057\u3066\u305d\u3053\u307e\u3067\u30b9\u30af\u30ed\u30fc\u30eb\u3067\u304d\u308c\u3070\u3088\u3044\u306e\u3067\u3001<br \/>\n<code><br \/>\nChatTextBox.Select(ChatTextBox.Text.Length, 0);<br \/>\n<\/code><br \/>\n\u672b\u5c3e\u306b\u30ab\u30fc\u30bd\u30eb\u3092\u79fb\u52d5\u3055\u305b\u3066\u3001<br \/>\n<code><br \/>\nSendMessage(ChatTextBox.Handle, 0x00B7, 0, 0);<br \/>\n<\/code><br \/>\nEM_SCROLLCARET(0x00b7)\u30e1\u30c3\u30bb\u30fc\u30b8\u3067\u30ad\u30e3\u30ec\u30c3\u30c8\u4f4d\u7f6e\u307e\u3067\u30b9\u30af\u30ed\u30fc\u30eb\u3055\u305b\u308b\u3002(\u3000\u309c\u0414\u309c)\u30a6\u30de\u30fc<\/p>\n","protected":false},"excerpt":{"rendered":"<p>C#(.NET (Compact) Framework)\u306eTextBox\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u306f\u8907\u6570\u884c\u306e\u30c6\u30ad\u30b9\u30c8\u3092\u6271\u3048\u308b\u304c\u30b9\u30af\u30ed\u30fc\u30eb\u3092\u64cd\u4f5c\u3059\u308b\u30e1\u30bd\u30c3\u30c9\u304c\u898b\u5f53\u305f\u3089\u306a\u3044\u3002IRC\u306e\u30c1\u30e3\u30c3\u30c8\u8868\u793a\u9818\u57df\u3067\u3001\u672b\u5c3e\u306b\u65b0\u7740\u30c6\u30ad\u30b9\u30c8\u3092\u8ffd\u52a0\u3057\u3066\u3044\u3063\u3066\u3082 [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spay_email":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false},"categories":[20],"tags":[],"jetpack_featured_media_url":"","jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p82ahK-4X","jetpack-related-posts":[],"_links":{"self":[{"href":"http:\/\/miku39.jp\/blog\/wp\/index.php?rest_route=\/wp\/v2\/posts\/307"}],"collection":[{"href":"http:\/\/miku39.jp\/blog\/wp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/miku39.jp\/blog\/wp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/miku39.jp\/blog\/wp\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/miku39.jp\/blog\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=307"}],"version-history":[{"count":0,"href":"http:\/\/miku39.jp\/blog\/wp\/index.php?rest_route=\/wp\/v2\/posts\/307\/revisions"}],"wp:attachment":[{"href":"http:\/\/miku39.jp\/blog\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=307"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/miku39.jp\/blog\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=307"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/miku39.jp\/blog\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=307"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}