有什么办法可以阻止窗户晃动吗?
在 Windows 7 和 Windows 8 桌面模式中,有一种方法可以让您的应用程序单独显示在屏幕上 - 摇动窗口。最近我发现了一个很棒的库,叫做 Cinder。它有一个非常好的教程,有一只猫在雪中的窗户里!)所以我想知道 - 如何从 C++ 代码捕获和使用窗口上的窗口抖动事件以制作雪球(我需要窗口“抖动”的当前方向和速度)?
In windows 7 and windows 8 desktop mode there is a way to make your app all alone on screen - shake the window. Recently I found about great lib called Cinder. It has a very good tutorial with a cat in a window with snow!) So I wondered - how to catch and use window shake event on windows from C++ code in order to make a snow ball (I need current direction and speed of window "shake")?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您的窗口将收到包含更新的窗口位置的
WM_MOVING
消息。Your window will receive
WM_MOVING
messages with the updated window position.