.\" -*- nroff -*- .\" Generated file - DO NOT EDIT! .TH SHSetParentHwnd 3w "Oct 2012" "Wine API" "Wine API" .SH NAME \fBSHSetParentHwnd\fR (SHLWAPI.167) .SH SYNOPSIS HWND SHSetParentHwnd ( HWND \fIhWnd\fR, HWND \fIhWndParent\fR ) .SH DESCRIPTION .PP Change a window's parent. .SH PARAMS \fIhWnd\fR \fB[In]\fR Window to change parent of. .PP \fIhWndParent\fR \fB[In]\fR New parent window. .PP .SH RETURNS .PP The old parent of \fIhWnd\fR. .SH NOTES .PP If \fIhWndParent\fR is \fBNULL\fR (desktop), the window style is changed to \fBWS_POPUP\fR. If \fIhWndParent\fR is \fBNOT\fR NULL then we set the \fBWS_CHILD\fR style. .SH IMPLEMENTATION .PP Exported by ordinal only. Use \fBGetProcAddress(3w)\fR to obtain a pointer to the function. .PP Implemented in \fB"dlls/shlwapi/ordinal.c"\fR. .PP Debug channel \fB"shell"\fR.