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 - setparent() changes the parent of a window http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 SetParent()            Changes the parent of a window
--------------------------------------------------------------------------------

   Syntax:              SetParent( <hWndChild>, <hWndParent> )
                             --> <hWndOldParent>

   Parameters:

   <hWndChild>          Identifies the child window.

   <hWndParent>         Identifies the new parent window.

   Returns:

   <hWndOldParent>      The handle of the old parent window.

   Observations:        If the child window is visible it gets
                        properly painted.

   Sample:              SAMPLES\\TestFold.prg

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

   See also:            GetParent()  IsChild()


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