hwndDlg (HWND) - input
hwnd (HWND) - input
This may be an immediate child of the dialog window or a window lower in the window hierarchy, such as a child of a child window.
NULLHANDLE can be specified if code is EDI_FIRSTTABITEM or EDI_LASTTABITEM.
If an invalid handle is passed, the first child window of the dialog is returned.
code (ULONG) - input
Determines the type of dialog item to return. This parameter can have one of the following values:
EDI_FIRSTGROUPITEM
hwndItem (HWND) - returns
As dictated by code.
The window is always an immediate child of hwndDlg, even if hwnd is not an immediate child window.