获得窗口句柄:
this->m_hwnd HWND GetForegroundWindow(VOID); GetSafehWnd 取你程序所在窗口类的句柄 GetActiveWindow 取当前活动窗口句柄 AfxGetMainWnd 取主窗口句柄 GetForegroundWindow 取前台窗口句柄 FindWindow EnumWindow |
转载于:https://www.cnblogs.com/mfryf/archive/2012/02/16/2353954.html
获得窗口句柄:
this->m_hwnd HWND GetForegroundWindow(VOID); GetSafehWnd 取你程序所在窗口类的句柄 GetActiveWindow 取当前活动窗口句柄 AfxGetMainWnd 取主窗口句柄 GetForegroundWindow 取前台窗口句柄 FindWindow EnumWindow |
转载于:https://www.cnblogs.com/mfryf/archive/2012/02/16/2353954.html