hwnd (HWND) - input

      Window handle.

    hwndNewParent (HWND) - input

      New parent window handle.

      This cannot be a descendant of hwnd.

      If this parameter is a desktop window handle or HWND_DESKTOP, hwnd becomes a main window.

      If this parameter is not equal to HWND_OBJECT, it must be a descendant of the same desktop window as hwnd.

      If this parameter is HWND_OBJECT or a window handle returned by WinQueryObjectWindow, hwnd becomes an object window.

    fRedraw (BOOL) - input

      Redraw indicator.

      TRUE

        If hwnd is visible, any necessary redrawing of both the old parent and the new parent windows is performed.
      FALSE
        No redrawing of the old and new parent windows is performed. This avoids an extra device update when subsequent calls cause the windows to be redrawn.

      rc (BOOL) - returns

        Parent-changed indicator.

        TRUE

          Parent successfully changed
        FALSE
          Parent not successfully changed.


        [Back] [Next]