GetActiveWindow()//the window handle to the active window associated with the calling thread's message queue. GetFocus()--The GetFocus function retrieves the handle to the window that has the keyboard focus, if the window is associated with the calling thread's message queue.
GetFocus()->m_hWnd
GetFocus()--The GetFocus function retrieves the handle to the window that has the keyboard focus, if the window is associated with the calling thread's message queue.