Colderleo's blog Colderleo's blog
首页
Linux
C++
Python
前端
工具软件
mysql
索引
关于
GitHub (opens new window)

Colder Leo

热爱代码的打工人
首页
Linux
C++
Python
前端
工具软件
mysql
索引
关于
GitHub (opens new window)
  • Windows
gaoliu
2021-10-06

获取未响应窗口的句柄

https://blog.csdn.net/WQR1994/article/details/101540138

当一个窗口未响应,DWM(桌面窗口管理器)会创建一个窗口(Ghost Window),盖在原来窗口上面,这样用 GetWindowFromPoint 就会获取到 Ghost Window 的句柄。使用 HungWindowFromGhostWindow 可以获取到真正的那个窗口的句柄。

编辑 (opens new window)
上次更新: 2021/10/11, 12:43:58
最近更新
01
通过模板实现结构体成员拷贝-按成员名匹配
05-07
02
c++17通过模板获取类成员的个数
05-01
03
avx-sse切换惩罚
04-30
更多文章>
Theme by Vdoing | Copyright © 2019-2023 Colder Leo | MIT License
  • 跟随系统
  • 浅色模式
  • 深色模式
  • 阅读模式
×