Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- FiveWin 1.9.2 - January 97 - setfocus() selects a window as focused http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 SetFocus()             Selects a window as focused
--------------------------------------------------------------------------------

   Syntax:              SetFocus( <hWnd> )  --> <hWndPrev>


   Parameters:

   <hWnd>               Identifies the window to receive the keyboard
                        input. If this parameter is 0, keystrokes are
                        ignored.

   Returns:

   <hWndPrev>           Identifies the window that previously had
                        the focus.

   Observations:        This function sends a WM_KILLFOCUS to the
                        window that previously had the focus, and
                        a WM_SETFOCUS to the window that recieves
                        the focus.

   Source code:         SOURCE\\WINAPI\\SetFocus.c

   See also:            GetFocus()


Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson