C4 Engine
C4 Engine API Documentation


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

virtual void AddSubwindow(Window *window);

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.