摘要: { 拦截输入法输入的字符串。向编辑框中输入中文查看效果。 Delphi XE7 } unit Unit1; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, ... 阅读全文
posted @ 2018-12-16 21:53 IT菜鸟的博客 阅读(891) 评论(0) 推荐(0) 编辑
摘要: Win32 Ime API: ImmGetContext: 获取指定窗口的当前的输入上下文,然后再尝试访问上下文中的信息。应用程序应该定期使用这个功能获取窗口的当前的输入上下文。若hWnd参数为零,将返回桌面当前的输入上下文。 HIMC ImmGetContext( HWND hWnd ); Get 阅读全文
posted @ 2018-12-16 16:49 IT菜鸟的博客 阅读(667) 评论(0) 推荐(0) 编辑