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 - getwindow() retrieves the handle of a window http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 GetWindow()            Retrieves the handle of a window
--------------------------------------------------------------------------------

   Syntax:              GetWindow( <hWnd>, <nRelationShip> )
                           --> <hWndSearched>

   Parameters:

   <hWnd>               Identifies the original window.

   <nRelationShip>      Specifies the relationship between the original
                        function and the returned window. This parameter
                        can be one of the following values:

                        GW_CHILD        Identifies the window's first child
                                        window.
                        GW_HWNDFIRST    Returns the first sibling window for
                                        a child window; otherwise, it
                                        returns the first top-level window in
                                        the list.
                        GW_HWNDLAST     Returns the last sibling window for a
                                        child window; otherwise, it
                                        returns the last top-level window in
                                        the list.
                        GW_HWNDNEXT     Returns the sibling window that
                                        follows the given window in the
                                        window manager's list.
                        GW_HWNDPREV     Returns the previous sibling window in
                                        the window manager's list.
                        GW_OWNER        Identifies the window's owner.

   Returns:

   <hWndSearched>       The handle of the searched window. 0 if it
                        not successful.

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

   See also:            FindWindow()


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