Creating Multi-Window Applications

So far we've limited the Windows application to a single window, but there's no reason to limit yourself; you can use as many windows as you want in a Windows application. In this next example, ch07_06, which you can see at work in Figure 7.22, we'll take a look at multi-window applications. This example illustrates how to support the Multiple Document Interface (MDI), multiple and owned windows, and custom dialog boxes. In particular, this example uses an MDI parent window to enclose MDI child windows, as you see in Figure 7.22 (each MDI child window displays a rich text box to let the users enter and edit text).

Figure 7.22. Running the ch07_06 example.

Menus

Example ch07_06 is also designed to show how to ...

Get Microsoft® Visual C#® .NET 2003 Kick Start now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.