[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
HWND pascal SetParent(HWND hWnd, HWND hNewParent)
 <MS-WINDOWS equivalent>

  This function changes the parent of the specified window.

Parameters
  hWnd is the handle of the window which you want to relink to a new
   parent. It can also be NULLHWND if you want to remove a parent link
   from a window.
  hNewParent is the handle of the new parent window.

Returns
  The handle of the old parent, or NULLHWND if it had no parent previously.

This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson