https://github.com/sunnycapturer/windowrect
get windows rect infomation
https://github.com/sunnycapturer/windowrect
cmake cpp qt windows
Last synced: 4 months ago
JSON representation
get windows rect infomation
- Host: GitHub
- URL: https://github.com/sunnycapturer/windowrect
- Owner: SunnyCapturer
- Created: 2023-08-24T17:38:26.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2023-08-24T17:47:27.000Z (almost 2 years ago)
- Last Synced: 2024-12-28T00:46:59.843Z (6 months ago)
- Topics: cmake, cpp, qt, windows
- Language: C++
- Homepage:
- Size: 10.7 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## WindowRect
| | | |
| ---------- | ---------------------------------------- | -------------- |
| WindowRect | 框选鼠标当前位置窗口范围(类似窗口截图) | Windows、Linux |**修改:** 工程由 QMake 修改为 CMake,且修改编码,使得能够在 如下环境 win10 22H2 + Qt 5.15.2 + QtCretor + msvc2022; 编译成功。
**逻辑:** 使用 鼠标穿透,故使用钩子, 获取窗口信息简单,但是获取无法自定义详细的过滤;和自己写的对比,取长补短参考使用。
Ref: https://github.com/mahuifa/QMDemo/blob/master/FunctionalModule/FunctionalModule.md