Here is the translation of the given content: "Visual C++ 6.0: Getting Started and Advanced Techniques"

Author: Xu Xiaogang et al.
Publisher:
Publish Date: 2002-04-01
Features: This book comprehensively explains the programming methods of Visual C++ 6.0, using numerous examples to illustrate the usage and techniques of MFC classes. It meticulously introduces various aspects, including basic C knowledge, the Visual C++ 6.0 programming environment, AppWizard, ClassWizard, advanced controls, database calls, multithreaded programming, and more, enabling you to master Visual C++ 6.0 effortlessly.
Author's Preface:
From the Preface to the "Software Basics and Advanced Skills Series":
The key to using computers that often baffles even ordinary users is learning how to use software. The vast range of software, rapid version updates, numerous function options, and bloated systems can be overwhelming, leaving users unsure where to start. Yet, whenever you see professionals effortlessly navigating software with ease, you can't help but admire their skills. "Fishing from the edge of a well is no match for tying a net." There is only one path: to start using it! Choose the software you want and a good book, then sit down at your computer, turn it on, install it, and follow the book's instructions to use and test it. Soon, you'll find your computer becomes responsive, and you'll be an excellent navigator, able to sail confidently through the sea of software.
The launch of the "Software Basics and Advanced Skills Series" is to provide you with a navigator to explore the sea of software. It is a set of easy-to-learn and user-friendly guides covering the most popular software today. It can be studied sequentially or used as a reference on demand, ensuring you have a solid foundation and clear guidance to quickly and efficiently master software operations and programming techniques, solving practical problems with ease.
Let's take a look at the features of this series.
Software Selection:
The software selected in this series are renowned products from well-known domestic and international software companies, widely used in China, and outstanding in various fields. Currently, the series covers software domains such as operating platforms, office software, programming tools, database software, network and Internet software, multimedia and graphics software, and more. The series will also closely monitor the release of new software, promptly releasing books for new products and those with narrower but technologically significant applications.
Version Selection:
The series follows the principle of staying up-to-date with software releases, focusing on the latest versions released within the past six months and those to be released in the next six months, ensuring technical advancement. It also considers classic mainstream software, giving well-loved and widely recognized products their place. For software with both Chinese and English versions, the Chinese version is prioritized to fully meet the needs of Chinese users.
Target Audience:
The series is clearly aimed at beginners and intermediate users. Whether you have experience with the software covered or not, this book is suitable for you. The "Basics" in the title refers to the explanation of fundamental knowledge and basic operations for each software, allowing new users to easily get started without referring to other books. Experienced users can also quickly understand the new features and functions of the latest version and smoothly transition to the next level. As for the "Advanced Skills" in the title, it embodies the focus of the book's content. Based on our experience, software functions are becoming increasingly complex, and without reaching a certain depth and breadth, it is difficult to handle them effectively in practice. Therefore, after guiding readers to quickly get started, the series uses clear step-by-step instructions and typical application examples to teach readers more comprehensive software usage techniques and application skills, enabling them to truly master and apply the software.
Content Design:
The strategy for designing the content of this series is based on a thorough analysis of users' challenges in using software and the current state of the computer book market. In short, it is practical, clear, and thorough. It is neither an all-encompassing "user manual" nor a detailed "function guide," but rather a highly practical operational and programming guide. All content is chosen based on users' actual needs, allowing readers to "avoid the and focus on the" when facing complex software systems, directly addressing their goals. For each function, the series provides clear step-by-step guidance and rich application examples to accurately tell you how to do it. As long as you follow the book's instructions and methods, practice, and master them, you can then apply what you've learned to achieve solid progress with ease.
Style and Features:
The series strives for concise text, abundant illustrations, clear structure, and an engaging layout. Additionally, during planning and writing, some very useful special sections have been designed to provide guidance beyond the main text. These sections include:
- Note: Alerts you to potential problems, common mistakes, and how to avoid them, saving you from frustration and the need for help.
- Tip: Suggests further chapters for reference and detailed information on specific topics, allowing you to learn at your own pace.
- Skill: Offers shortcuts and advanced techniques to help you work more efficiently and skillfully.
- Try It: Provides carefully designed operational exercises. By following along, you can not only reproduce the beautiful visuals in the book on your computer but also explore other implementation methods and possible outcomes not detailed in the text. The frequent "Try It" sections encourage hands-on learning, helping you gain insights and understanding as you go.
After intensive planning, design, and creation, this series has been launched and has received positive market response. Many books have been quickly reprinted within two months, and the series has already sold over 160,000 copies in a short time. From numerous reader feedback cards and letters, we have received many valuable suggestions, which have been incredibly beneficial to us. Rigor, pragmatism, high quality, and excellence have always been the traditions of Tsinghua University Press, and they remain our pursuit in planning and creation. Despite our dedication and effort, errors and shortcomings are inevitable. We sincerely appreciate your guidance and corrections, and we are committed to continuous improvement and higher quality in future work.
During the creation of this series, we received strong support from the Product Department of Microsoft China. We sincerely thank them for their assistance in providing software and technical materials, as well as reviewing the relevant catalogs.
Editorial Committee of the "Software Basics and Advanced Skills Series"
January 1998
Excerpt: Basic Appearance and Operation of the Integrated Development Environment
The Microsoft Developer Studio window is quite complex, not only arranging multiple subwindows and toolbars but also including several tabs and options within the subwindows. To prevent users from feeling overwhelmed, it is necessary to introduce the various windows and toolbars of the integrated development environment first.
1.1.1 Text Window and Its Operation
The text window is generally located in the upper right part of the integrated development environment platform. Various program files, resource files, document files, and help information can be displayed through the text window. Users can open multiple text windows simultaneously, and each window can be manipulated using general Windows operations such as maximize, minimize, restore, close, move, and resize through the system menu and the upper-right corner buttons. Additionally, you can activate the desired window by selecting it in the Windows menu or by using the mouse. For example, selecting the Text1.cpp menu item in the Windows menu makes the Text1.cpp window the active text window.
There are two other methods to switch to a text window:
- Method 1: Use the Next command (or shortcut Ctrl+F6) under the text window system menu to cycle through the text windows sequentially.
- Method 2: Use the Windows command under the Windows menu, which opens a dialog box (Figure 1.1). In the Select Window list box, you can choose the currently open text window. The Activate button activates the specified window, while the Close Window button closes it. If the specified window is a program file or other editable document, you can also click the Save button to save it.
In the Windows menu, the Cascade command arranges the text windows in a layered layout, while the Close All command closes all text windows at once. When the content of the active text window is a document file, executing the New Window command in the Windows menu opens another window with the same document file content. For example, activating the Text1.cpp window and using the New Window command creates a copy of Text1.cpp (Text1.cpp:2). Using the New Window command again successively opens Text1.cpp:3, Text1.cpp:4, and so on, all with the same content.
The Split command in the Windows menu splits a program file window into four cross-shaped panes. The cross can be moved freely to adjust the size of each pane. When the split line is moved to a corner, the panes merge again. After splitting, the top two parallel panes can be scrolled together vertically using the right-side scroll bar, as can the bottom two. The left and right panes can be scrolled horizontally using their respective bottom scroll bars.
1.1.2 Workspace Window and Its Operation
The Workspace window is generally located to the left of the text window. After loading a project, three icon tabs appear at the bottom of the window. Hovering the mouse over these tabs briefly displays a word indicating their corresponding meanings. Generally, the Workspace window has three icon tabs: ClassView (Class View), ResourceView (Resource View), and FileView (File View). Clicking an icon tab displays the corresponding page. For example, clicking the FileView icon tab makes the Workspace window display the FileView page, allowing users to view the files in the project. Another way to switch is to press Ctrl+PageUp or Ctrl+PageDown (note that the cursor cannot be in the right-side source file window).
The content of the page is displayed in folder form. By clicking the "plus" box before a folder or double-clicking the folder name, you can open the folder and display its contents. If you double-click the deepest-level object, the corresponding editor opens, displaying an editing window. For example, in FileView, double-clicking a text file opens the source program editor; in ResourceView, double-clicking a resource opens the resource editor.
The position of the Workspace window is not fixed. It can be moved by following these steps:
- Click and drag the border of the Workspace window to the desired location using the mouse.
The Workspace window can be hidden using the following methods:
- Method 1: Activate the Workspace window and press Shift+Esc.
- Method 2: Click the Workspace window button on the common toolbar.
- Method 3: Right-click the Workspace window page and select the Hide command from the shortcut menu.
- Method 4: Right-click the border of any toolbar, open the shortcut menu, and select the Project Workspace option.
If the Workspace window is already hidden, the following three methods can make it reappear:
- Method 1: Click the Workspace window button on the common toolbar.
- Method 2: Select the Project Workspace option from the View menu or press Alt+O.
- Method 3: Right-click the border of any toolbar, open the shortcut menu, and select the Project Workspace option.

📌 Related Posts