| Programming Features: |
- Create a Resizable Main Window for a GUI Based Application
- Set the Main Window Icon and Caption
- Set the Main Window Menu
- Set the Main Window Background Color and Mouse Cursor
- Prompt to Exit the Application when the Main Window is Closed
| Description: |
- Program Phase Task 4 is a GUI based application that creates a main window with a "File" menu. The "File" menu contains two menu items.
- If the user activates the "Hello World!" menu item, the following message box is displayed.
- If the user activates the "Exit" menu item, the main window is closed, and the program exits. If the user attempts to close the main window by clicking on the x button in the upper right corner of the main window, the following message box is displayed.
- If the "Yes" button is activated, then the program exits. If the "No" button is activated, then the main window is not closed and the program continues to run.
| See Also |