Comments (3)
我早就想实现这个功能了,但苦于一直都没有相关的思路
from dynamic-desktop.
我不懂win平台的开发,不知道是否能通过判断(应用本身或者控件或者桌面)是否可见来实现这个功能呢?或者退而求其次判断是否获得了焦点?再或者监听win+d快捷键?或者桌面视频被点击的事件是否能获取到呢?
from dynamic-desktop.
你说的这些方法效果都不是很好。应用本身和桌面一直都是可见的,就算被其他程序挡住也是可见的,没法用这个判断。而把程序嵌入桌面以后,它就不会再获得焦点了,这个方法也是行不通的。监听快捷键能做,但效果肯定不好的,没法确定用户运行没运行全屏的程序。点击事件能获取到,但与监听快捷键同理,你没法确定用户到底在做什么。
from dynamic-desktop.
Related Issues (9)
- Application crashes when drag slider HOT 1
- Auto run is not working HOT 2
- Application crashes when exit HOT 3
- Main window won't show on Win 7, Win 8 and Win 8.1
- SetProcessDpiAwarenessContext only available on Win 10 1703 and newer HOT 6
- Player won't start playing if first add files to playlists HOT 4
- Impove the font display HOT 1
- 老板键(热键) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dynamic-desktop.