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

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[nb, obj]
replaces the notebook represented by the notebook object obj with the one obtained from expr.
New in 6