Windows 7 自动图文集
我正在 Visual C++ 2010 中创建一个小型辅助功能,我将用它来替换 Windows 7 中任何位置的文本位。类似于 Word 中的自动图文集功能。它也应该只替换整个单词。 例如,将 u 替换为 you,但不应该将 you 替换为 yoyou。当用户键入存储在自动文本中的已知单词或句子的前几个字母时,我想用某些东西替换它。
我不想要一个控制台程序,而是一个在后台运行的小应用程序,也许在托盘中,只要不需要它,我就可以退出它,它就会停止匹配。
我正在学习 Win32 编程,并且我非常擅长编程,因此对于我可以直接跳到哪些 API/类的任何提示,我都可以先学习。
谢谢。
'm creating a small accessibility feature in Visual C++ 2010 that I will use for myself for replacing bits of text anywhere within Windows 7. Something similar to the AutoText feature in Word. It should replace whole words only too.
For example, replace u with you but should not have you as yoyou. When the user types the first few letters of a known word or sentence that is stored in the autotext, i want to replace it with something.
I don't want a console program but a small application that runs in the background, perhaps in the tray that whenever its not needed, i can just quit it and it would stop matching.
I am learning Win32 programming and I am a fairly good at programming so any tips for me on what API/classes I can jump directly to and learn first.
Thank you.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您可能可以使用 CBT 挂钩和/或可访问性 API 获取所需的信息和事件。
You can probbaly get the information and events you want using CBT hooks and/or the accessability APIs.
已经有大量此类程序可用于此类目的。
尝试 http://www.autotext-software.com 或 http://www.phraseexpress.com(这是一个自动文本电动工具)。两者都是免费的。
There are tons of such programs available for such purpose already.
Try http://www.autotext-software.com or http://www.phraseexpress.com (This is a Autotext power tool). Both are free.