Delphi - how to get hint from Controls of other Application created from delphi

不打扰是莪最后的温柔 提交于 2020-01-16 04:09:06

问题


I have a project that will required to grab the hint from controls(e.g. TButton) of another application created from delphi. I used Hook, WH_CBT, using .exe and .dll to make it global and when the mouse point to the control and Hint show and hide, I get the HCBT_CREATEWND and HCBT_DESTROYWND of the hint with it's Handle and SysShadow as class. But before that, THintWindow is created with its handle, and after that I don't have any idea how to get the text from that hint. I searched google and no result.

Is there some one who could help me regarding this problem.

Thank you in advance.

来源:https://stackoverflow.com/questions/27059220/delphi-how-to-get-hint-from-controls-of-other-application-created-from-delphi

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!