VSWAP Demos Multiple-View Switching in SDI (141333)
The information in this article applies to:
- The Microsoft Foundation Classes (MFC), when used with:
- Microsoft Visual C++ for Windows, 16-bit edition 1.5
- Microsoft Visual C++ for Windows, 16-bit edition 1.51
- Microsoft Visual C++ for Windows, 16-bit edition 1.52
This article was previously published under Q141333 SUMMARY VSWAP demonstrates methods of switching between multiple
views on a single document in a single-document interface (SDI) application.
VSWAP displays two form views and a normal view that displays the list of data
collected in the two form views. NOTE: This is the 16-bit version of this sample. There is an
equivalent 32-bit sample available under the name VSWAP32. 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: Vswap.exe For additional 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 to
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:
VSWAP.EXE -d
REFERENCES For examples of other applications that switch views,
please refer to the following SAMPLES:
COLLECT (SDI)
ENROLL (SDI)
VWRPLC (MDI)
SPLIT (Splitter).
For more information on DDX and DDV routines, please see
Technical Note 26: DDX and DDV Routines in the Microsoft Development
Library. For additional information, please see the following
article(s) in the Microsoft Knowledge Base: 99562 Switching Views in a Single Document Interface Program
Modification Type: | Minor | Last Reviewed: | 8/5/2004 |
---|
Keywords: | kbdownload kbcode kbDocView kbfile kbNoUpdate kbsample KbUIDesign KB141333 |
---|
|