An application's primary window has the following characteristics:
A window style
A title (optional)
An icon and cursor
Default foreground and background colors
Scroll bars (optional)
An initial size and position on the screen
The following sections describe how to control each of these.