Visual C++ by Example
Tags
Summary
Editor's review
Who it's for
A good fit for
- 已有 C++ 语法基础、想转入 Windows 平台开发的读者
- 使用 MFC 维护旧项目、需要查控件与消息用法的开发者
- 想通过实例理解 Win32 API 与 MFC 封装原理的自学者
- 高校计算机专业学生作为 Windows 程序设计课程的辅助读物
Not a good fit for
- 完全没有编程基础、连 C++ 语法都不熟悉的零起点读者
- 只想要现代 Visual Studio 与 C++11/17 以上新特性内容的读者
- 从事跨平台或 Web、移动开发的工程师
Reading tips
- 先读完第1章,亲手把控制台、对话框、单文档三个工程各建一遍,建立对 MFC 框架的直觉
- 控件和窗体章节不必从头读到尾,可对照手头项目需求挑实例做,边做边查
- 读 MFC 代码时顺手翻看对应的 Win32 API 写法,理解封装层次,收获会更大
- 把书中实例迁到自己可用的编译环境里试跑,过时的 API 调用及时替换并记录差异
About the publisher
In addition to science and technology and professional publishing, the books in our catalog from China Machine Press also reflect a sustained focus on psychology, computing, management, finance and economics, and social sciences. In psychology, the catalog includes works by C. G. Jung and introductions to analytical psychology, as well as applied topics such as stress and health, and addiction and healing. In computing, it features Structure and Interpretation of Computer Programs (JavaScript Edition). Management and finance titles include Administrative Behavior (4th Edition), The Price of Inequality (Collector's Edition), and This Time Is Different: Eight Centuries of Financial Folly (Commemorative Edition). In the philosophy and history of science, there is The Worldview: The Third Edition. Relevant authors include C. G. Jung, William McGuire, Sonu Shamdasani, and Gabor Maté. Public information is limited; the above summarizes the publisher's profile based solely on the books in our catalog.
Contents
- Preface to the Series
- Preface
- Chapter 1 Getting to Know Visual C++ 6.0 (Console Programs, Windows Programs, Dialog/Single-Document/Multiple-Document MFC Programs, Using Macros)
- Chapter 2 Using Common Win32 Controls (Static Text, Text Boxes, Buttons, Check Boxes, Combo Boxes, Scroll Bars, Progress Bars, Sliders, Hot Keys, Lists, Trees, Rich Edit, Property Sheets, Animation, Date and Time, Month Calendar, IP Address Controls)
- Chapter 3 Enriching the Interface with Advanced Win32 Controls (Window Menus, Pop-up Menus, Toolbars, 256-Color Toolbars, Status Bars, Color Gradient Progress Bars, ToolTips)
- Chapter 4 Windows (Creating and Displaying, Always on Top, Semi-Transparent, Elliptical Windows, Text Windows, Shaped Windows, Animated Show and Hide, Adaptive Controls)
- Chapter 5 Dialog Boxes
- Chapter 6 Understanding Windows Messages in Depth
- Chapter 7 System and Shell Programming
- Chapter 8 Basic Input Devices
- Chapter 9 Processes
- Chapter 10 Graphics and Image Development
- Chapter 11 File IO Development
- Chapter 12 Database Development
- Chapter 13 Network Development
- Chapter 14 Advanced Windows Programming
- Chapter 15 Multimedia Development
- Chapter 16 ActiveX Applications
- Chapter 17 Deploying Applications
FAQ
这本书用的是哪个版本的 Visual C++?
这本书和《Visual C++ 6.0实例精通》是同一本吗?
书中的实例还能在新版 Visual Studio 上运行吗?
没有 C++ 基础可以直接读吗?
Comments
Find this book
This site is an index: you start “Search all sources” in your browser, and the entries it lists all point to third-party sites; please judge their availability yourself.
About the author
Zhang Jun is an author about whom limited public information is available. The library holds 22 of his works, spanning categories such as popular science, finance and economics, history, medicine, management, and examination preparation, which indicates a broad range of subjects. Representative titles include The Last Embrace: Animal and Human Emotions; Scaling the Peak: Understanding the Mechanisms of China's Economic Development; The Governance of China (8 volumes); Learning Electronics from Scratch; The Distant Empire: The Two Jins and Sixteen Kingdoms; Changing China: An Economist's Notes on Reform; The Age of Disorder; and The Historical Evolution of Virtual Economy Legislation: From Laissez-Faire to Limited Development. Judging from these titles, his writing balances academic themes with the needs of general readers, covering observations on China's economic mechanisms and reform process as well as historical narrative, animal emotions, and introductory electronics, with a style that develops arguments along clear lines and makes topics accessible to readers of different backgrounds.