GrReparentWindow()

Name

GrReparentWindow() -- Change a window's parent

Synopsis

void GrReparentWindow ( GR_WINDOW_ID wid , GR_WINDOW_ID pwid , GR_COORD x , GR_COORD y );

Description

This function changes the parent window of the window wid to the specified new parent window. It places the window at the coordinates (x,y) relative to the new parent window.

Parameters

TypeNameDescription
GR_WINDOW_IDwidThe ID of the window to reparent.
GR_WINDOW_IDpwidThe ID of the new parent window.
GR_COORDxThe new X position of the window with respect to its new parent window.
GR_COORDyThe new Y position of the window with respect to its new parent window.

See Also

GrNewWindow(), GrMoveWindow(), GrGetWindowInfo().