摘要: Windows API详解——SwitchToThisWindow 激活指定窗口(无论是否最小化) - [VC++编程]版权声明:转载时请以超链接形式标明文章原始出处和作者信息及本声明 http://www.blogbus.com/flyxxtt-logs/45056360.html SwitchT... 阅读全文
posted @ 2014-10-28 23:43 哈哈好玩 阅读(9770) 评论(0) 推荐(0) 编辑
摘要: [DllImport("user32.dll")] public static extern bool IsIconic(IntPtr hwnd); [DllImport("user32.dll")] public static extern bool Is... 阅读全文
posted @ 2014-10-28 23:16 哈哈好玩 阅读(254) 评论(0) 推荐(0) 编辑
摘要: GetClientRect的CRect是相对它的窗口的客户区的原点而言的,即它的左上角坐标总是(0,0),大小总是客户区的长宽。GetWindowRect得到的CRect则是相对于屏幕坐标而言的,它的左上角坐标就是窗口在屏幕上的左上角坐标,它的大小就是整个窗口的大小。 ClientToScreen,... 阅读全文
posted @ 2014-10-28 23:00 哈哈好玩 阅读(201) 评论(0) 推荐(0) 编辑