たまに「じゃんぬねっと」が生存確認をする日記

しょーもない日記

ホーム 連絡をする 同期する ( RSS 2.0 ) Login
投稿数  983  : 記事  4  : コメント  39723  : トラックバック  277

ニュース

My Website

初心者向けのサイトです。

C# と VB.NET の入門サイト

最近のできごと

頑張っていたら年収が 4 桁万円 (残業はありません)。人生何があるかわかりません。

最高の配偶者、可愛い娘、ハンサムな息子と幸せな日々を送っています。
やっぱり世の中お金ですね!金!金!

ゴリラ?そんなの飼っていません!

Sponsored Link1

Sponsored Link2

Archive

書庫

TextBox 以外のコントロールでは、WndProc で貼り付けを示す WM_PASTE、
またはコピーを示す WM_COPY などは取得できなかったりします。

たとえば、ComboBox がそのうちのひとつです。
実際には、ComboBox 内の EditBox で起きています。

コンボ ボックスの右クリックの貼り付けイベント取得について
http://www.atmarkit.co.jp/bbs/phpBB/viewtopic.php?topic=28307&forum=7

スレッド タイトルは「右クリックの貼り付け」とありますが、
実際には、コンテキスト メニューだけでなく、[Ctrl] + [C] や [Ctrl] + [Insert] にも対応します。
コンテキスト メニューだけ防ぐのは、おかしいですから言わずもがなですけどね。(;^ω^)

ただ、ユーザーのしたいことを奪うような利用は控えた方が良いでしょう。
特にですが「貼り付けを完全に禁ずる」というものには、宜しくないでしょう。(;_ _)

やるのであれば、WM_PASTE を捕捉して「数字のみ貼り付けを許可する」などですね。
これは、クリップ ボードからデータを取得して、許可する文字だけを自前で貼り付けることで簡単に可能です。

TextBox などの場合は WndProc で直接あれこれできますが、
どちらにしても、どの文字を許可するのかなどはプロパティで実装すべきでしょう。

私のサイト内の ExTextBox はプロパティで実装していますが、結構イケてないです。
なにぶん、.NET をやり始めた頃に工数短縮のために作ったものですからね... < ただの言い訳w

投稿日時 : 2006年2月11日 9:45

コメント

# re: Ruby で数値を 0 埋めする 2019/01/24 14:10 zzyytt
http://www.mlbjerseys.in.net
http://www.longchamphandbags.co.uk
http://www.yeezyboost350v2shoes.us.com
http://www.curry6shoes.com
http://www.balenciagashoes.us.com
http://www.yeezyboost.in.net
http://www.retro-jordans.us.com
http://www.curry5.us.com


# gtjcxi@hotmaill.com 2019/04/14 9:52 Pandora Charms Sale Clearance
ultxolyid,If you are going for best contents like I do, just go to see this web page daily because it offers quality contents, thanks!

# jeuotcgxg@hotmaill.com 2019/04/27 15:34 retro jordan 33
Whether it's blockchain technology or any other new revolutionary technology, the first thing you need to master to master these technologies is the basic concepts they contain. If you don't even understand the basic terms, what about further use and development? The basic concepts that need to be understood are as follows.

# fvjrtfcvkn@hotmaill.com 2019/04/28 6:26 Cheap NFL Jerseys
At this point, it might be safer for George to just not respond to Lillard’s criticism. Whether it was a good or bad shot, it went in. Anything George says now will just look like sour grapes.

# rzrhdm@hotmaill.com 2019/05/04 0:14 Nike Shoes
He couldn’t drive himself into work on Wednesday, however, and said he still has some restrictions as he goes back to work and begins to rehab his hip.

# powvmischrr@hotmaill.com 2019/05/06 13:55 Yeezy 350
"I didn't see fatigue (in Game 5)," Kerr said. "I just saw a lack of urgency, and you can't win a playoff game without urgency. It's not that easy."

# cmqsrqt@hotmaill.com 2019/05/07 3:41 Yeezy 500
New York Giants general manager Dave Gettleman said he didn’t fall in love with any quarterbacks in last year’s draft class, so he passed. He took Saquon Barkley with the No. 2 overall pick.

# opncgntgl@hotmaill.com 2019/05/11 0:38 Cheap Jerseys
But through this reluctant and unexpected admittance into the world of infertility, I have learned the value of striving toward hope; it may come without the guarantee of reward. I’ve had to turn my dream over to science. But I now know that whatever the future brings, I will be grateful for every moment.

# ebkiyn@hotmaill.com 2019/05/16 9:30 jordan 11 concord 2018
http://www.nikefactoryoutletstoreonline.com/ nike factory outlet store online

# gyxtupv@hotmaill.com 2019/05/30 12:25 Travis Scott Air Jordan 1
It was my choice,Jordan but I was forced to make it before I was ready. The day I signed the paperwork to go forward with the procedure to (hopefully) preserve my fertility,Jordan I was handed a stack of forms that I realized most people had weeks to consider?at home,Jordan in the safety of their own space,Jordan with their partner or family or friends by their side. Instead,Jordan I was being asked to answer huge questions in 10 minutes; six weeks of radiation treatment really couldn’t wait. Some questions were straightforward,Jordan but others were harder. They asked what I’d want to happen to my eggs if something were to happen to me. Donate them to science? Destroy them? Donate them to another woman? Any woman or someone specific?

# svbxtkg@hotmaill.com 2019/06/05 11:25 Yeezy
http://www.nikeshoes.us.org/ Nike Shoes

# wudhwit@hotmaill.com 2019/06/12 6:25 Nike Outlet Store
http://www.dallascowboysjerseyscheap.us/ Cowboys Jerseys

# zvdfxqjmezy@hotmaill.com 2019/06/23 14:34 Air Max 2019
http://www.pandora-officialsite.us/ Pandora Jewelry Official Site

# uowiadld@hotmaill.com 2019/07/06 14:58 Cheap NFL Jerseys
http://www.nikeplus.us/ Nike Air Vapormax Plus

# cmduaw@hotmaill.com 2019/07/15 1:05 Yeezy
http://www.adidasyeezy.de/ Adidas Yeezy

# gjrdgqvc@hotmaill.com 2019/07/30 3:42 Yeezy
http://www.nikeshoes.us.org/ Nike Shoes

# auvqiercenl@hotmaill.com 2019/08/07 22:28 Adidas Yeezy
http://www.nfl-jerseys.us.org/ NFL Jerseys

# zeplmjbezb@hotmaill.com 2019/08/21 22:33 Nike Outlet
http://www.yeezy-shoes.in.net/ Yeezy Shoes

# cffxkbrez@hotmaill.com 2019/08/27 16:04 Yeezy 350
http://www.jordan11-concord.com/ jordan 11 concord

# lgcgeithtri@hotmaill.com 2019/09/20 17:22 Yeezy 350
xhbverxrkze,A very good informative article. I've bookmarked your website and will be checking back in future!

# pPRQRfDEANVOjhRUHFc 2019/11/07 23:21 https://www.suba.me/
KRB5ZA Looking forward to reading more. Great article.Thanks Again. Keep writing.

# EHazRchQPbcNJRSh 2019/11/10 10:46 https://idyasinc.com
There went safety Kevin Ross, sneaking in front best cheap hotels jersey shore of

# QgBtHxIplumzlwWO 2019/11/13 4:46 https://talktopaul.com/glendale-real-estate-agent
very couple of internet sites that occur to become detailed below, from our point of view are undoubtedly properly worth checking out

# mNZVRwxfCjj 2019/11/13 13:24 https://www.talktopaul.com/burbank-real-estate
VIDEO:а? Felicity Jones on her Breakthrough Performance in 'Like Crazy'

# zzOPLnMHaNHqHEOmqT 2019/11/16 11:09 https://www.seotrafficbooster.com/
Wow, fantastic blog format! How long have you ever been running a blog for? you make blogging look easy. The entire look of your web site is excellent, let alone the content material!

# CMHxiCnuZevxzGKqKsf 2019/11/18 8:07 https://www.youtube.com/watch?v=kBW9JAs8LKw
Really appreciate you sharing this article.Much thanks again. Keep writing.

# YlwYCikcrGw 2019/11/18 12:00 https://schooltips.com.ng/contact-us/
Im grateful for the article post.Really looking forward to read more. Keep writing.

# ZPfDjEIPZlKe 2019/11/19 19:57 https://foursquare.com/user/567989213/list/sap-cth
Thanks for the blog post.Thanks Again. Really Great.

# HPdCsCemahlzSZwPm 2019/11/20 1:41 https://www.singaporetattooshow.com/
This unique blog is no doubt educating as well as diverting. I have chosen a lot of helpful stuff out of this blog. I ad love to visit it again soon. Thanks a bunch!

# SjRUdEizGEDdbJ 2019/11/20 5:54 https://familiar-strangers-tattoo-studio-singapore
Regards for helping out, excellent info. If at first you don at succeed, find out if the loser gets anything. by Bill Lyon.

Very good info. Lucky me I discovered your website by chance (stumbleupon). I have book-marked it for later!

# CQvJckqFZvbYrQt 2019/11/20 16:08 http://bestfacebookmarketqxw.crimetalk.net/says-ka
up to other users that they will help, so here it occurs.

# qEOCXmFeEPYsciH 2019/11/20 20:22 https://profiles.wordpress.org/seovancouverbc/
You made some decent points there. I did a search on the topic and found most persons will agree with your website.

Well I really liked reading it. This tip provided by you is very useful for good planning.

There is visibly a bunch to realize about this. I believe you made certain good points in features also.

# QgOPsMDrUEMcSoNcwf 2019/11/21 8:41 http://web.sfc.keio.ac.jp/~t15548rn/wpx/members/de
I think other site proprietors should take this website as an model, very clean and great user friendly style and design, as well as the content. You are an expert in this topic!

# wNQIfZRBLClMBnt 2019/11/21 9:02 https://spapreneurmembership.com/members/grassdanc
Merely wanna remark that you have a very decent site, I enjoy the layout it actually stands out.

# bQLEdEJIkod 2019/11/21 12:03 https://seovancouver.net/
Super-Duper blog! I am loving it!! Will be back later to read some more. I am taking your feeds also

# arTWPVyeUODrnyO 2019/11/21 15:29 https://seovancouver.net/
Major thanks for the post.Much thanks again.

# jNAbHADhSgetyj 2019/11/22 8:08 https://sportbookmark.stream/story.php?title=for-m
This particular blog is obviously educating additionally factual. I have found many helpful stuff out of this amazing blog. I ad love to go back again and again. Thanks a bunch!

# VPdvglMEKeOvLm 2019/11/22 10:13 https://www.yelp.ca/biz/seo-vancouver-vancouver-7
It as really a cool and useful part of info. I am glad that you simply shared this useful information with us. Please maintain us informed such as this. Thanks with regard to sharing.

# YwqImzzLrKt 2019/11/24 3:00 https://www.uniqueprinted.com/
Pretty! This has been an incredibly wonderful post. Many thanks for supplying these details.

# ZPnNCTPqBqciJitM 2019/11/26 8:30 https://www.laweekly.com/best-cbd-oil-for-pain/
Pretty! This has been an incredibly wonderful article. Many thanks for supplying these details.

# llircLEaoozVNGPxIjV 2019/11/26 16:57 https://hirespace.findervenue.com/
You made some really good points there. I looked on the internet for additional information about the issue and found most individuals will go along with your views on this website.

# pBEVPfvpRESGOPRtVJm 2019/11/26 19:04 https://www.instabeauty.co.uk/
This website was how do I say it? Relevant!! Finally I have found something which helped me. Kudos!

# oZPpFfmQtKc 2019/11/26 19:25 http://winthropsworthit.online/story/13009
this, such as you wrote the book in it or something.

I truly appreciate this post. I have been looking everywhere for this! Thank God I found it on Google. You ave made my day! Thanks again!

# rnjhpfBoXHoVBp 2019/11/27 18:26 https://www.jigsawconferences.co.uk/venuesearch?se
Yay google is my king aided me to find this great web site !.

# eXrzSRjRQjPshMB 2019/11/27 23:14 https://www.jigsawconferences.co.uk/venuesearch?se
Really appreciate you sharing this post.Much thanks again. Want more.

# kxEGTbtxQXzlOw 2019/11/28 2:52 https://www.jigsawconferences.co.uk/venuesearch?se
This blog is definitely entertaining and also factual. I have picked a bunch of helpful advices out of this source. I ad love to come back again and again. Thanks!

# ECWXRmArMLsNVJIPCJh 2019/11/28 20:35 https://www.jigsawconferences.co.uk/venuesearch?se
This can be such a great position, plus took place sense very much exactly the same myself. Another fantastic keep posted.

# YeFbQtsoiCx 2019/11/29 7:18 https://www.siatex.co
Thanks-a-mundo for the blog article.Thanks Again. Keep writing.

# YXtRPIyHaDlPOUGkw 2019/11/29 11:45 https://vimeo.com/user54103728
My brother recommended I would possibly like this website.

# QBPzDJRYxSTBgPCWcdX 2019/11/29 17:59 https://www.jigsawconferences.co.uk/article/event-
Thankyou for helping out, excellent info.

# MWQrrmjrjXgEsREo 2019/11/29 20:35 https://pritomtex.com
Thanks for sharing, this is a fantastic article post. Great.

# LrsyUyIbpbdcq 2019/12/02 20:22 https://www.mcsrlspneumatici.it
You produced some decent points there. I looked on the net to the issue and found many people go together with together together with your internet web site.

# OtgoDdxxOKBkJF 2019/12/05 4:56 https://www.siatexbd.com
You made some respectable points there. I looked on the internet for the difficulty and found most individuals will go together with together with your website.

# zepqSkTAPDhAq 2019/12/05 23:51 https://www.siatex.com/sportswear-manufacturer-sup
If most people wrote about this subject with the eloquence that you just did, I am sure people would do much more than just read, they act. Great stuff here. Please keep it up.

# EfOnUWdBfPKNxAYqJLJ 2019/12/06 4:31 https://disqus.com/by/stupinvipol/
It as enormous that you are getting thoughts from this post

# SJiNXYgfOJZcG 2019/12/06 9:16 https://www.jigsawconferences.co.uk/venue/1500/haw
This website truly has all of the information and facts I wanted concerning this subject and didn at know who to ask.

Post Feedback

タイトル
名前
Url:
コメント: