Windows can be created in code or by using the Designer. In general, the Designer is used to create either a basic window or a virtual window, and to put the associated text, lines, and boxes onto the memory screen.
Note: You can use the Designer to create a window that will later be used to view a memory file. You cannot assign a memory file to the window inside the Designer; this must be done in code. However, when you read the window from the Designer library, Vermont Views allocates a memory screen for the working area of the window. When the memory file is assigned to the window, Vermont Views frees this memory screen before assigning the memory file. This causes some memory fragmentation that is avoided when this type of window is defined in code with wn_mfdef().