WINDOW is a component that presents a standard on-screen window. Ui-related WINDOW inherits from view.
Related sample: 08_window/01_init.html
The following is an example of initialization with the commonly used parameters (to see a full list of WINDOW's parameters, please refer to the corresponding chapter of the manual):
dhx.ui({ view:"window", id:"mainWindow", head:{ ... }, body:{ ... }, top:20, left:20, move:true })
Specify id if you're going to refer to WINDOW later.
To use ui functionality, touchui.css and touchui.js files must be included.