在 Windows 中移动屏幕 - 低级编程
好吧,这听起来很奇怪。是否可以通过编程方式移动屏幕?例如,通过向下移动屏幕,您将不再看到 Windows 开始按钮,并且屏幕的顶部将显示为黑色。有点难以描述。这就像操纵 Windows 显示桌面和整个环境的方式一样。我应该用什么语言来表达这样的事情。可以用C++实现吗?
非常感谢
OK, this is going to sound strange. Is it possible to programmatically move the screen? For example, by moving the screen down, you will not see the windows start button anymore and the top part of the screen will be shown as black. It's a bit hard to describe. It's like manipulating the way the desktop and the whole environment is shown by windows. What language should I use for such thing. Could it be done with C++.
Many thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这很大程度上取决于相关的 Windows 版本。
WinXP 之前的一切:仅使用标准 API 是不可能完成的。执行此操作需要侵入图形驱动程序
Windows XP 及更高版本允许将屏幕空间灵活分配到桌面,这要归功于通过多个图形卡扩展桌面的支持。但请不要问我具体的 API 调用。您最好的选择是查看 MSDN 图形驱动程序开发部分。
This greatly depends on the Windows version in question.
Everything up to WinXP: Impossible to do using only standard API. Doing this requires hacking into the graphics drivers
Windows XP and later allow for flexible assignment of screen space to the desktop, thanks to the support of expanding the desktop over multiple graphics cards. But please don't ask me about the specific API calls for this. Your best bet would be looking in the MSDN graphics driver development section.