窗口抖动
来源:互联网 发布:web书籍推荐 知乎 编辑:程序博客网 时间:2024/04/28 20:44
#include <windows.h>#include <tchar.h>#include <stdio.h>VOID JitterWindow(HWND hwnd){RECT rect;int cxWidth, cyHeight, iIdx;if (!IsWindow(hwnd))return;GetWindowRect(hwnd, &rect);cxWidth = rect.right-rect.left;cyHeight = rect.bottom-rect.top;for(iIdx = 0; iIdx <= 1000; iIdx += 100){MoveWindow(hwnd, rect.left-50, rect.top, cxWidth, cyHeight, TRUE);Sleep(100);MoveWindow(hwnd, rect.left-50, rect.top + 50, cxWidth, cyHeight, TRUE);Sleep(100);MoveWindow(hwnd, rect.left, rect.top + 50, cxWidth, cyHeight, TRUE);Sleep(100);MoveWindow(hwnd, rect.left, rect.top, cxWidth, cyHeight, TRUE);Sleep(100);}return;}int main(){JitterWindow(GetForegroundWindow());getchar();getchar();return 0;}
阅读全文
0 0
- 窗口抖动
- 窗口抖动
- 窗口抖动
- 窗口抖动
- 窗口抖动
- 窗口抖动
- 窗口抖动
- java窗口抖动
- 窗口抖动效果
- 窗口的简单抖动
- js 窗口抖动
- 仿QQ窗口抖动
- 窗口抖动函数
- EditText窗口抖动
- 抖动窗口的实现
- 窗口抖动效果
- 窗口抖动效果
- C#实现窗口抖动
- Truck History
- animaldemo放大 旋转
- C/C++结构体struct 与结构体数组和枚举型enum的结合使用
- 贪心问题
- 新建控制器并且引用数据库,输出该方法对应的模板
- 窗口抖动
- 动态grid java 后台封装json数据返回到前台解析并展示
- Xposed指纹支付插件 安卓版
- oracle 字符串数字最大值问题
- BAT资深算法工程师《深度学习》读书分享:概率和信息论
- tomcat内存溢出问题(java.lang.OutOfMemoryError: PermGen space)
- 云计算的架构图
- 方格取数问题
- animaldemo 变长+变色