Original Post
is there any windows API command that returns the hWnd of whatever the user has focus to? and i mean universally, across all the windows on the screen.
meaning, if i have my cursor in a textbox on some random window, it would return the textbox hwnd. or if a button on another window had focus set to it, it would tell you that hwnd.
is there such an api command?