First, we create the new project for our GUI application.
) button in the main window.
On the first page, we want to specify the project type.
We now move to the second page of the wizard.
Here, we want to name the project and specify a folder for its files.
The New Project wizard can set up some skeleton program code for our project, according to the project's characteristics as we specify them. Template code is not relevant for all kinds of projects--for instance, our Hello project would not have benefited from any more initial program structure than it had--but the wizard will include any that is relevant if we check the "Include any available templates" box.
We now move to the third page of the wizard.
When we created the Hello project, we chose the Minimal option here, to use only the Functional-Dylan library. Our GUI application also needs to use other libraries for access to the native window system.
We now proceed through a series of pages allowing us to specify our project requirements in high-level terms, without knowing the names of specific Functional Developer API libraries.
The wizard will make our project's library definition use the right libraries and modules to do what we ask on these pages, and will include suitable template code in the project sources. Thus the Simple option is a useful way to create projects until you are more familiar with the libraries that Functional Developer offers.
The features we can specify fall into several categories. The choices available depend on the edition of Functional Developer you own. All editions offer I/O and system support, and GUI support. The Professional and Enterprise Editions also offer OLE Automation support, networking support, and database support.
On the first page we can specify the what I/O and system support we want in our project. For each option, the wizard shows which libraries the project will use.
The next page is for specifying GUI support details. Here, we can decide whether we want to do the window programming for the application by using DUIM, Functional Developer's high-level GUI toolkit, or by using the Win32 API libraries described in the C FFI and Win32 library reference. We want to use DUIM in this project.
Now the wizard offers different pages according to the edition of Functional Developer you own. For this example, we do not want to use any edition-specific libraries, so we will keep clicking Next until we get to the last page of the wizard, which is the same for all editions. This is the page for specifying source file headers, as we saw in Section 4.1.4 on page 64.
If you made any changes to this page last time, they will have been preserved. Whenever you click Finish, the wizard saves all these headers (except Synopsis:) and some other details, and reinstates them next time you create a project. See Section 4.3 on page 73 for a list of the details that the wizard saves.
The wizard creates the new GUI-App project and opens it.