当鼠标悬停在系统中的任何位置时,请给我一个词 [英] When mouse hover any where in the system give me the word
本文介绍了当鼠标悬停在系统中的任何位置时,请给我一个词的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好,
我正在尝试执行此操作,当用户将鼠标悬停在系统中的任何单词上时,程序必须告诉我您将鼠标悬停在X单词上
我不知道如何开始,请帮助
任何帮助将不胜感激.
HI All,
i am trying do this, when the user hover over any word in the system, the program must tell me you hovering over the X word
i don''t know how to start, Please Help
any help will be appreciated
推荐答案
我不认为对此有切实可行的解决方案.这些东西没有标准的API.
如果完全有可能,这就是我会做的(可能会有更好的方法).
从窗口查找器中获取基本代码,例如 FindWindow [ Microsoft的SAPI [
I don''t think there is a practical solution to this. There is no standard API for this stuff.
If this was at all possible, this is how I would do it (there may be a better way).
Take the basic code from a window finder, such as FindWindow[^]. Mix that with something like Microsoft''s SAPI[^].
This will at least get you the control which is under the mouse. Get the window text and shove it into the SAPI.
这篇关于当鼠标悬停在系统中的任何位置时,请给我一个词的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文