Useful window function

来源:互联网 发布:haproxy windows版 编辑:程序博客网 时间:2024/04/30 05:01

GetForegroundWindow();                 //get foregaround window

GetDeskTopWindow() ;                    //get desktop window

GetActiveWindow() ;                        //get actived window

 

GetWindowRect(HWND, &RECT); //get the window size, return rect structure