C4 Engine
C4 Engine API Documentation

Window::AddSubwindow

Defined in:  C4Widgets.h
Attaches a subwindow to a window.
Prototype

virtual void AddSubwindow(Window *window);

Description
The AddSubwindow function adds the window specified by the window parameter to the window for which the function is called. As long as a subwindow exists, the window to which it is attached cannot be accessed. Deleting a window causes all of its subwindows to also be deleted.