简体   繁体   中英

How to get the handle of application that received the mousedoubleclick?

Is it possible to get the handle of the Window the user clicked (or in my case double-clicked) on?

Adding more detail: I have an application that when launched by the user, watches for a specific hot key (CTL+SHIFT+T). When pressed, my application sends a keyboard command back to the original application (CTL-C), then takes the text from the Clipboard and logs the text.
I am attempting to extend/replace the keyboard sequence with a double-click. Is this possible?

根据您在注释中解释的内容,当用户按“ CTL + T”执行所需操作时,需要获取前景窗口的句柄,并且在链接中,它将向您展示如何获取前景窗口的句柄。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM