| | |
| | | //获取焦点 |
| | | static void focus(HWND hwnd); |
| | | |
| | | //复制到粘贴板 |
| | | static void copy(string text); |
| | | |
| | | //键盘输入数字 |
| | | static void keyboardNum(string num, int delay=0); |
| | | |
| | | //键盘输入其他键 |
| | | static void keyboard(int code, int delay=0); |
| | | |
| | | //键盘键入粘贴 |
| | | static void keyboardPaste(); |
| | | |
| | | //获取L2屏幕数据 |
| | | static DEVMODE getL2ScreenInfo(); |
| | |
| | | static bool isWindowShow(HWND hwnd); |
| | | //显示窗口 |
| | | static void showWindow(HWND hwnd); |
| | | |
| | | //选择txt文件 |
| | | static void selectTexFileWin10(HWND hwnd, string path); |
| | | |
| | | //鼠标滚动 |
| | | static void rollMouseWheel(bool back,HWND win,int x, int y); |
| | | |
| | | //获取位置 |
| | | static void getWindowRect(HWND hwnd,RECT *rect); |
| | | }; |
| | | |