December 21, 2024

Dynamic Windows Function [dw_window_reparent]

Syntax

void dw_window_reparent(HWND handle, HWND newparent)

Parameters

HWND handle: The window handle to reparent.
HWND newparent: The window's new parent window.

Description

Changes a window's parent to newparent. This is primarily used to move top-level windows in and out of an MDI. Any other use of this function has undefined behavior.

Remarks

As of version 3.2, due to the previous deprecation of MDI, and no other approved use this function is also deprecated.