C++ Windows Programming

Learn the best practices that all C++ developers need to know and get started developing user-friendly and efficient applications for the Windows platform
Preview in Mapt

C++ Windows Programming

Stefan Björnander

4 customer reviews
Learn the best practices that all C++ developers need to know and get started developing user-friendly and efficient applications for the Windows platform
Mapt Subscription
FREE
$29.99/m after trial
eBook
$28.00
RRP $39.99
Save 29%
Print + eBook
$49.99
RRP $49.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$28.00
$49.99
$29.99p/m after trial
RRP $39.99
RRP $49.99
Subscription
eBook
Print + eBook
Start 30 Day Trial

Frequently bought together


C++ Windows Programming Book Cover
C++ Windows Programming
$ 39.99
$ 28.00
Instant Windows 8 C++ Application Development How-to Book Cover
Instant Windows 8 C++ Application Development How-to
$ 12.99
$ 9.10
Buy 2 for $26.60
Save $26.38
Add to Cart
Subscribe and access every Packt eBook & Video.
 
  • 5,000+ eBooks & Videos
  • 50+ New titles a month
  • 1 Free eBook/Video to keep every month
Start Free Trial
 

Book Details

ISBN 139781786464224
Paperback588 pages

Book Description

It is critical that modern developers have the right tools to build practical, user-friendly, and efficient applications in order to compete in today’s market. Through hands-on guidance, this book illustrates and demonstrates C++ best practices and the Small Windows object-oriented class library to ease your development of interactive Windows applications. 

Begin with a focus on high level application development using Small Windows. Learn how to build four real-world applications which focus on the general problems faced when developing graphical applications. Get essential troubleshooting guidance on drawing, spreadsheet, and word processing applications. Finally finish up with a deep dive into the workings of the Small Windows class library, which will give you all the insights you need to build your own object-oriented class library in C++.

Table of Contents

Chapter 1: Introduction
The library
Summary
Chapter 2: Hello, Small World!
Hello, Small Windows!
The circle application
Summary
Chapter 3: Building a Tetris Application
The MainWindow function
The Tetris window
The TetrisFigure class
The GameGrid class
Summary
Chapter 4: Working with Shapes and Figures
The MainWindow function
The DrawDocument class
Summary
Chapter 5: The Figure Hierarchy
The DrawFigure class
The LineFigure class
The ArrowFigure class
The RectangleFigure class
The EllipseFigure class
Summary
Chapter 6: Building a Word Processor
Auxiliary classes
The MainWindow class
The WordDocument class
Summary
Chapter 7: Keyboard Input and Character Calculation
Keyboard handling
Character calculation
Summary
Chapter 8: Building a Spreadsheet Application
The MainWindow class
The CalcDocument class
Source and target sets
Graph searching
Error handling
Summary
Chapter 9: Formula Interpretation
Formula interpretation
Matrix and reference
The cell
Further reading
Summary
Chapter 10: The Framework
An overview of Small Windows
"Hello" window for the Win32 API
The MainWindow function
The WinMain function
The Application class
The Window class
The Graphics class
Summary
Chapter 11: The Document
The Document class
The Menu class
The Accelerator class
The StandardDocument class
Summary
Chapter 12: The Auxiliary Classes
The Size class
The Point class
The Rect class
The Color class
The Font class
The Cursor class
The DynamicList class
The Tree class
The InfoList class
Strings
Summary
Chapter 13: The Registry, Clipboard, Standard Dialogs, and Print Preview
The registry
The Clipboard class
Standard dialogs
Print preview
Summary
Chapter 14: Dialogs, Controls, and Page Setup
Custom dialogs
Controls
Converters
Page setup
Summary

What You Will Learn

  • Develop advanced real-world applications in Windows
  • Design and implement a graphical object-oriented class library in C++
  • Get to grips with the workings of the integral aspects of the Win32 API, such as mouse input, drawing, cut-and-paste, file handling, and drop files
  • Identify general problems when developing graphical applications as well as specific problems regarding drawing, spreadsheet, and word processing applications
  • Implement classes, functions, and macros of the object-oriented class library developed in the book and how we implement its functionality by calling functions and macros in the Win32 API

Authors

Table of Contents

Chapter 1: Introduction
The library
Summary
Chapter 2: Hello, Small World!
Hello, Small Windows!
The circle application
Summary
Chapter 3: Building a Tetris Application
The MainWindow function
The Tetris window
The TetrisFigure class
The GameGrid class
Summary
Chapter 4: Working with Shapes and Figures
The MainWindow function
The DrawDocument class
Summary
Chapter 5: The Figure Hierarchy
The DrawFigure class
The LineFigure class
The ArrowFigure class
The RectangleFigure class
The EllipseFigure class
Summary
Chapter 6: Building a Word Processor
Auxiliary classes
The MainWindow class
The WordDocument class
Summary
Chapter 7: Keyboard Input and Character Calculation
Keyboard handling
Character calculation
Summary
Chapter 8: Building a Spreadsheet Application
The MainWindow class
The CalcDocument class
Source and target sets
Graph searching
Error handling
Summary
Chapter 9: Formula Interpretation
Formula interpretation
Matrix and reference
The cell
Further reading
Summary
Chapter 10: The Framework
An overview of Small Windows
"Hello" window for the Win32 API
The MainWindow function
The WinMain function
The Application class
The Window class
The Graphics class
Summary
Chapter 11: The Document
The Document class
The Menu class
The Accelerator class
The StandardDocument class
Summary
Chapter 12: The Auxiliary Classes
The Size class
The Point class
The Rect class
The Color class
The Font class
The Cursor class
The DynamicList class
The Tree class
The InfoList class
Strings
Summary
Chapter 13: The Registry, Clipboard, Standard Dialogs, and Print Preview
The registry
The Clipboard class
Standard dialogs
Print preview
Summary
Chapter 14: Dialogs, Controls, and Page Setup
Custom dialogs
Controls
Converters
Page setup
Summary

Book Details

ISBN 139781786464224
Paperback588 pages
Read More
From 4 reviews

Read More Reviews

Recommended for You

C# 6 and .NET Core 1.0: Modern Cross-Platform Development Book Cover
C# 6 and .NET Core 1.0: Modern Cross-Platform Development
$ 39.99
$ 28.00
Learning C++ by Creating Games with UE4 Book Cover
Learning C++ by Creating Games with UE4
$ 26.99
$ 18.90
Beginning C++ Game Programming Book Cover
Beginning C++ Game Programming
$ 39.99
$ 28.00
Android Programming for Beginners Book Cover
Android Programming for Beginners
$ 39.99
$ 28.00
C++ Multithreading Cookbook Book Cover
C++ Multithreading Cookbook
$ 29.99
$ 21.00
Python GUI Programming Cookbook Book Cover
Python GUI Programming Cookbook
$ 35.99
$ 25.20