Hello World Version 6: Adding a Font Dialog, Pop-up Menus, Notebooks, and Graphics

Version 6 of the Hello World application shows you how to do the following:

The main window for Version 6 of the Hello World application looks like this:


Listing the Hello World Version 6 Files

The following files contain the code used to create version 6:

File Type of Code
ahellow6.cpp Source code for main procedure and AHelloWindow class
ahellow6.hpp Class header file for AHelloWindow
ahellow6.h Symbolic definitions file shared by all source files
adialog6.cpp Source code for the ATextDialog class
adialog6.hpp Class header file for ATextDialog
aearthw6.cpp Source code for the AEarthWindow class
aearthw6.hpp Class header file for AEarthWindow
anotebw6.cpp Source code for the ANotebookWindow class
anotebw6.hpp Class header file for ANotebookWindow
ahellow6.rc Resource file
ahellow6.ico Icon file
ahellow6.rtf and ahello6.hpj Help source files for Windows help
ahello6.ipf IPF help source files

Exploring Hello World Version 6

The following list describes the tasks performed by version 6 of the Hello World application that are not already described for previous versions. The tasks are as follows:

Refer to anotebw6.hpp and anotebw6.cpp to see how the new ANotebookWindow class is defined and implemented, and to ahellow6.cpp for an example of its use.



Events and Event Handlers
Controls
Resources


Converting Application Resources
Adding Menus to your Application
Layout Using Canvas Controls
Creating and Using Text Controls
Using List and Slider Controls
Creating and Using Notebooks
Using Common Dialogs


IEvent
ICommandHandler
IFileDialog
IFontDialog
IHandler
IHelpWindow
IHelpHandler
IMenu
IMenuBar
INotebook