12.12.2012 Views

Teach Yourself Borland C++ in 14 Days - portal

Teach Yourself Borland C++ in 14 Days - portal

Teach Yourself Borland C++ in 14 Days - portal

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

332 Day 9<br />

NOTE<br />

TIP<br />

The W<strong>in</strong>dow menu is usually reserved for MDI applications. You<br />

probably won’t put a W<strong>in</strong>dow menu on your SDI application’s menu<br />

bar unless you have a specialty app that requires it.<br />

The menus added by the Application Wizard are a reasonable representation<br />

of the menu items that are most commonly used <strong>in</strong> W<strong>in</strong>dows<br />

applications. Remember that the Application Wizard is <strong>in</strong>tended to<br />

give you a head start <strong>in</strong> creat<strong>in</strong>g your application. It is up to you to take<br />

the basic structure and modify it to make a work<strong>in</strong>g application.<br />

After you have chosen the menus you want for your application, click the Next button to<br />

move on to the next page.<br />

Page Two: Sett<strong>in</strong>g the File Dialog Filters<br />

If you chose to add a File menu to your application, the next page displayed will look like the<br />

one <strong>in</strong> Figure 9.9.<br />

Figure 9.9.<br />

Sett<strong>in</strong>g filters for the<br />

File dialog boxes.<br />

This page allows you to set the filters that your application’s File Open and File Save dialog<br />

boxes will use. (Figure 9.9 shows the dialog box after the filters have been added.) Click the<br />

Add button to add a new filter. A dialog box is displayed, ask<strong>in</strong>g for the description and the<br />

filter. Enter the filters exactly as you do when sett<strong>in</strong>g the Filter property for the common<br />

file dialog box components. Enter the textual description and then the actual file mask (*.bmp,<br />

for <strong>in</strong>stance). The Edit, Delete, Up, and Down buttons can be used as necessary to change,<br />

delete, or move the filter <strong>in</strong> the list.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!