VSWAP32 samples are available for multiple-view switching in a single-document interface (SDI) application (141334)
The information in this article applies to:
- The Microsoft Foundation Classes (MFC), when used with:
- Microsoft Visual C++, 32-bit Editions 4.0
- Microsoft Visual C++, 32-bit Editions 4.1
- Microsoft Visual C++, 32-bit Enterprise Edition 4.2
- Microsoft Visual C++, 32-bit Enterprise Edition 5.0
- Microsoft Visual C++, 32-bit Enterprise Edition 6.0
- Microsoft Visual C++, 32-bit Professional Edition 4.2
- Microsoft Visual C++, 32-bit Professional Edition 5.0
- Microsoft Visual C++, 32-bit Professional Edition 6.0
- Microsoft Visual C++, 32-bit Learning Edition 6.0
This article was previously published under Q141334 SUMMARY VSWAP32 demonstrates methods of switching between multiple
views on a single document in a single-document interface (SDI) application.
VSWAP32 displays two form views and a normal view that displays the list of
data collected in the two form views. NOTE: This is the 32-bit
version of this sample. There is also a 16-bit version available called
VSWAP.EXE. This sample application demonstrates using DDX/DDV
(dialog data exchange/dialog data validation), with correct document updating
and data validation when switching between views. It also correctly catches
unsaved/unvalidated data when the application is closed. The following files are available for
download from the Microsoft Download Center: Visual C++ 6.0
For more information about how to download Microsoft support files, click the following article number to view the article in the Microsoft Knowledge Base:
119591 How to obtain Microsoft support files from online services
Microsoft scanned this file for viruses. Microsoft used the most current virus-detection software that was available on the date that the file was posted. The file is stored on security-enhanced servers that help prevent any unauthorized changes to the file.
Visual C++ .NET
Release Date: June 26, 2002
For more information about how to download Microsoft support files, click the following article number to view the article in the Microsoft Knowledge Base:
119591 How to obtain Microsoft support files from online services
Microsoft scanned this file for viruses. Microsoft used the most current virus-detection software that was available on the date that the file was posted. The file is stored on security-enhanced servers that help prevent any unauthorized changes to the file.
After downloading the file, use the following command to
extract the sample and build the appropriate directory structure: REFERENCES For other examples of applications that switch views,
please refer to the following samples:
COLLECT (SDI)
ENROLL (SDI)
VWRPLC32 (MDI)
SPLIT32 (Splitter).
For more information on DDX and DDV routines, please see
Technical Note 26: DDX and DDV Routines in the Microsoft Development Library.
Modification Type: | Major | Last Reviewed: | 8/31/2005 |
---|
Keywords: | kbhowto kbdownload kbcode kbDocView kbfile kbSample KB141334 kbAudDeveloper |
---|
|