This is documentation for Mathematica 8, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)

CreateWindow

CreateWindow
creates an empty window in the front end.
CreateWindow[nb]
creates a window displaying the notebook expression nb, and opens it in the front end.
CreateWindow
replaces the notebook represented by the notebook object obj with the one obtained from expr.
Create a blank notebook window:
Create a notebook window with specified contents:
Replace the contents of an existing window:
Create a blank notebook window:
 
Create a notebook window with specified contents:
Replace the contents of an existing window:
Create a palette window:
Create a dialog window:
Set a background color:
Set a cell dingbat:
Make a notebook with manually grouped cells:
Align contents on the right:
Create a notebook that is not visible:
Make the notebook appear:
DocumentNotebook creates an in-cell representation of a notebook document:
CreateWindow puts the document into its own window:
PaletteNotebook and DialogNotebook create representations of specialized notebooks:
Use CreateWindow to put a palette or dialog expression into its own notebook window:
CreateDocument is essentially a combination of DocumentNotebook and CreateWindow:
CreatePalette acts like a combination of PaletteNotebook and CreateWindow:
CreateDialog acts like a combination of DialogNotebook and CreateWindow:
New in 6