This function retrieves the handle to the specified child window's parent window.
At a Glance
Header file: | Winuser.h |
Windows CE versions: | 1.0 and later |
Syntax
HWND GetParent( HWND hWnd);
Parameters
hWnd
Handle to the window whose parent window handle is to be retrieved.
Return Values
A handle to the parent window indicates success. NULL indicates that the window has no parent window. To get extended error information, call GetLastError.
Windows CE Remarks
Windows CE version 1.0 does not support owned windows, except for dialog boxes.
See Also