Groups
Groups
Sign in
Groups
Groups
microsoft.public.cn.dotnet.framework
Conversations
About
Send feedback
Help
Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss
Learn more
如何解决中文字符keypress 事件发生两次的问题?
8 views
Skip to first unread message
C# 如何调用 PromptDataSource取得连接对话框
unread,
May 21, 2009, 10:26:09 PM
5/21/09
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
我想通过获取system.widows.forms.control的 onkeypress 获得中文字符,可是输入中文的时候,onkeypress
会响应两次,跟踪消息发现
,对于中文字符control获得了两次消息,一个是代号为0x286的消息引发的,一个是代号为0x102引发的,对于onkeypress
来说,并不知道是分别由不同的消息引发的,我通过onkeypress无从获得用户输入的中文字符(消息有两次,不知道怎么取才能正确获得用户输入的中文字符串),在网上查找相关资料,说是bug,并列入微软bug库,不知道现在如何解决?
0 new messages