POINT pt;
GetCursorPos(&pt);
// 得到鼠标下面的窗口句柄
HWND hWnd=WindowFromPoint(pt);
// 得到鼠标所在的子窗口句柄
HWND hChild=ChildWindowFromPoint(hWnd,pt);

相关文章:

  • 2021-11-11
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-03
  • 2021-08-02
猜你喜欢
  • 2022-12-23
  • 2022-03-09
  • 2021-12-10
  • 2022-12-23
  • 2022-12-23
  • 2021-10-03
  • 2022-12-23
相关资源
相似解决方案