DRCtrlSetParentFromHWND

From EDM2
Jump to: navigation, search

Description

Sets the parent<->child relationship of dialogs using window handles.

The dialogs may be child dialogs of a dialog. Use DRCtrlGetHWND() to query the HWND of a dialog.

Syntax

rc=DRCtrlSetParentFromHWND( hwnd, newParentHWND)

Parameters

hwnd 
newParentHWND 

Return Code

Returns:

1: success
0: failure

Remarks

Note: If you change the parent of a dialog hints and bubblehelp no longer work for that dialog.