set window focus
HWND SetFocus( HWND hWnd )
The handle to the window that previously had the keyboard focus indicates success or NULL if hWnd parameter is invalid or not in queue.
EX1
int SetFocus_ex1() { HWND hWndPrev = SetFocus(GetWindow()); if(hWndPrev) return 1; return 0; }
sets focus to window
origin.h