怎样判断一个窗口是不是当前被选中的窗口? 只要不用mfc,其他什么方法都行. 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 GetActiveWindowThe GetActiveWindow function retrieves the window handle to the active window attached to the calling thread's message queue. HWND GetActiveWindow(VOID); 楼上说的不是特别准确GetForegroundWindow() 也可以的,不过有区别,这点你要好好看看了!!!!!!GetActiveWindow() 指(你的程序)当前激活的窗口。GetForegroundWindow() 是指(整个Windows系统)当前激活的窗口。 mfc调用word2007,将ListBox中的内容保存到word中 求书 万分火急!!! 为何不能改变对话框标题呢? 想写一个自动关机程序! 急急,小弟我一头雾水. 为什么创建事件对象失败呢?大虾来看看! 关于HBITMAP失效的问题 如何对某一元素添加子元素 ??? ****** 怎样强制SDI 重画view ****** ??? 高手看过来 我想用VC++和网页结合写一个网页,把访问过我们单位的IE的主页设成主页? 问个问题能否把属性页里的每个页分别改为一个个对话框!
The GetActiveWindow function retrieves the window handle to the active window attached to the calling thread's message queue. HWND GetActiveWindow(VOID);
GetForegroundWindow() 是指(整个Windows系统)当前激活的窗口。