Function 0 - define and draw the window.

Defines an application window. Draws a frame of the window, header and working area. For skinned windows defines standard close and minimize buttons.
Parameters: Returned value: Remarks: