My Account Log in

3 options

C++ windows programming : develop real-world applications in windows / Stefan Björnander.

EBSCOhost Academic eBook Collection (North America) Available online

View online

Ebook Central College Complete Available online

View online

O'Reilly Online Learning: Academic/Public Library Edition Available online

View online
Format:
Book
Author/Creator:
Björnander, Stefan, author.
Series:
Community experience distilled.
Community Experience Distilled
Language:
English
Subjects (All):
Microsoft Windows (Computer file).
Windows (Computer programs).
C++ (Computer program language).
Physical Description:
1 online resource (577 pages) : illustrations.
Edition:
1st edition
Other Title:
C plus plus Windows programming
Place of Publication:
Birmingham, England : Packt Publishing, 2016.
System Details:
text file
Summary:
Develop real-world applications in Windows About This Book Create diverse applications featuring the versatility of Small Windows C++ library Learn about object-oriented programming in Windows and how to develop a large object-oriented class library in C++ Understand how to tackle application-specific problems along with acquiring a deep understanding of the workings of Windows architecture Who This Book Is For This book is for application developers who want a head-first approach into Windows programming. It will teach you how to develop an object-oriented class library in C++ and enhanced applications in Windows. Basic knowledge of C++ and the object-oriented framework is assumed to get the most out of this book. 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 In Detail 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++. Style and approach This book takes a tutorial-style approach that will demonstrate the features of a C++ object-oriented library by developing interactive Windows applications.
Contents:
Cover
Copyright
Credits
About the Author
About the Reviewer
www.PacktPub.com
Table of Contents
Preface
Chapter 1: Introduction
The library
Summary
Chapter 2: Hello, Small World!
Hello, Small Windows!
The circle application
The main window
The CircleDocument class
The Circle class
Chapter 3: Building a Tetris Application
The MainWindow function
The Tetris window
Keyboard input
Drawing
Input focus
The timer
New figures
Game over
New game
Deleting and flashing rows
Closing the window
The TetrisFigure class
The red figure
The brown figure
The turquoise figure
The green figure
The yellow figure
The blue figure
The purple figure
The GameGrid class
Invalidating and drawing squares
Chapter 4: Working with Shapes and Figures
The DrawDocument class
The application modes
The DynamicList class
Initialization
Mouse input
Painting
The File menu
Cut, copy, and paste
The Modify menu
The Add menu
The cursor
Chapter 5: The Figure Hierarchy
The DrawFigure class
The LineFigure class
The ArrowFigure class
The RectangleFigure class
The EllipseFigure class
Chapter 6: Building a Word Processor
Auxiliary classes
Character information
Line information
The Paragraph class
The MainWindow class
The WordDocument class
The caret
Touchscreen
Page setup and calculation
Painting and drawing
File management
Delete
Page break
Font
Alignment
Chapter 7: Keyboard Input and Character Calculation
Keyboard handling
Arrow keys
Home and End
Shift arrow keys
Shift Page Up and Page Down
Shift Home and End
Control Home and End.
Shift Control Home and End
Neutral keys
Visible characters
Character calculation
Character size and ascent line
Line generation
Regular and justified rectangle list generation
Invalidate rectangle set generation
Chapter 8: Building a Spreadsheet Application
The CalcDocument class
Scrolling and marking
Visibility
Marking and updating
Font and color
Source and target sets
Graph searching
Error handling
Chapter 9: Formula Interpretation
Formula interpretation
The tokens
The tree node
The Scanner - Generating the list of tokens
The parser - Generating the syntax tree
Matrix and reference
The reference class
The Matrix class
The cell
Character input
Caret rectangle list generation
Further reading
Chapter 10: The Framework
An overview of Small Windows
"Hello" window for the Win32 API
The WinMain function
The Application class
The Win32 API Windows classes
The message loop
The Window class
Header and visibility
The touch screen
Invalidation and window updates
Preparing the device context
Unit transformation
Window size and position
Text metrics
The MessageBox method
The Graphics class
Chapter 11: The Document
The Document class
The Document header
The mouse wheel
The menu bar
The scroll bar
The DocumentProc method
The Menu class
The Accelerator class
The StandardDocument class
Standard menus
Drop files.
Page size
Page setup
Printing
Chapter 12: The Auxiliary Classes
The Size class
The Point class
The Rect class
The Color class
The Font class
The Cursor class
The Tree class
The InfoList class
Strings
Chapter 13: The Registry, Clipboard, Standard Dialogs, and Print Preview
The registry
The Clipboard class
ASCII and Unicode lines
Generic information
Standard dialogs
The Save dialog
The Open dialog
The Color dialog
The Font dialog
The Print dialog
Print preview
Scroll bar
Chapter 14: Dialogs, Controls, and Page Setup
Custom dialogs
Controls
The button controls
List controls
Combo box
Label
The TextField class
Converters
Signed integers
Unsigned integers
Double values
Rational numbers
Complex numbers
Page setup information
The Page Setup dialog
The Template function
Appendix: Rational and Complex Numbers
Index.
Notes:
Includes index.
Description based on online resource; title from PDF title page (ebrary, viewed March 2, 2017).
ISBN:
9781786468246
1786468247
OCLC:
961353849

The Penn Libraries is committed to describing library materials using current, accurate, and responsible language. If you discover outdated or inaccurate language, please fill out this feedback form to report it and suggest alternative language.

My Account

Shelf Request an item Bookmarks Fines and fees Settings

Guides

Using the Library Catalog Using Articles+ Library Account