Word or Visual C++ itself, or with toolbars like those in Internet Explorer. You can
read more about this in Chapter 9.
You can also set how many files you want to appear on the recent file list for this
application. Four is the standard number; change it only if you have good reason to do
so.
Clicking the Advanced button at the bottom of this Step 4 dialog box brings up the
Advanced Options dialog box, which has two tabs. The Document Template Strings tab is
shown in Figure 1.7. AppWizard builds many names and prompts from the name of your
application, and sometimes it needs to abbreviate your application name. Until you are
familiar with the names AppWizard builds, you should check them on this Document
Template Strings dialog box and adjust them, if necessary. You can also change the
mainframe caption, which appears in the title bar of your application. The file extension,
if you choose one, will be incorporated into filenames saved by your application and
will restrict the files initially displayed when the user chooses File, Open.
The Window Styles tab is shown in Figure 1.8. Here you can change the appearance of
your application quite dramatically. The first check box, Use Split Window, adds all the
code needed to implement splitter windows like those in the code editor of Developer
Studio. The remainder of the Window Styles dialog box sets the appearance of your main
frame and, for an MDI application, of your MDI child frames. Frames hold windows; the
system menu, title bar, minimize and maximize boxes, and window edges are all frame
properties. The main frame holds your entire application. An MDI application has a
number of MDI child frames - one for each document window, inside the main frame.
The Document Template Strings tab of the Advanced Options dialog box lets you adjust the
way names are abbreviated.
The Window Styles tab of the Advanced Options dialog box lets you adjust the appearance of
your windows.
Here are the properties you can set for frames:
l Thick Frame. The frame has a visibly thick edge and can be resized in the usual
Windows way. Uncheck this to prevent resizing.
l Minimize Box. The frame has a minimize box in the top-right corner.
l Maximize Box. The frame has a maximize box in the top-right corner.
l System Menu. The frame has a system menu in the top-left corner.
l Minimized. The frame is minimized when the application starts. For SDI applications,
this option will be ignored when the application is running under Windows 95.
l Maximized. The frame is maximized when the application starts. For SDI
applications, this option will be ignored when the application is running under
Windows 95.
When you have made your selections, click Close to return to step 4 and click Next to
move on to the next step.
No comments:
Post a Comment