.. highlightlang:: us .. _setdlgparentwnd: SetDlgParentWnd =============== .. index:: SetDlgParentWnd .. us.tag SetDlgParentWnd NOTREADYENGLISH :ref:`SetDlgParentWnd` sets the parent window for dialog boxes created with UniScript. .. function:: bool = SetDlgParentWnd(rsWnd) .. us.return **Return Value** *bool* is TRUE (1), if the function was successful and otherwise FALSE (0). .. seealso:: :ref:`AppGetMainWnd` :sub:`id-1269129`