ENGLISH

C ++ Windows Programming

Book information

Publisher
Packt Publishing
Year
2016
ISBN
1786464225, 9781786464224
Language
english
Format
PDF
Filesize
7 MB (7340558 bytes)
Pages
\577
Time added
2022-05-16 12:40:26

Description

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 Summary 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 Summary Chapter 4: Working with Shapes and Figures The MainWindow function 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 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 Character information Line information The Paragraph class The MainWindow class The WordDocument class The caret Mouse input Touchscreen Page setup and calculation Painting and drawing File management Cut, copy, and paste Delete Page break Font Alignment Summary 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 Summary Chapter 8: Building a Spreadsheet Application The MainWindow class The CalcDocument class Mouse input Scrolling and marking Painting Visibility Marking and updating Keyboard input File management Cut, copy, and paste Font and color Alignment Source and target sets Graph searching Error handling Summary 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 Drawing Caret rectangle list generation Formula interpretation File management 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 Win32 API Windows classes The message loop The Window class Initialization Header and visibility The touch screen Invalidation and window updates Preparing the device context Unit transformation Window size and position Text metrics Closing the window The MessageBox method The Graphics class Summary Chapter 11: The Document The Document class Initialization The Document header The caret The mouse wheel The menu bar The scroll bar The DocumentProc method The Menu class The Accelerator class The StandardDocument class Initialization Standard menus File management Cut, copy, and paste Drop files Page size Page setup Printing 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 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 Keyboard input Scroll bar Summary 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 Strings Rational numbers Complex numbers Page setup Page setup information The Page Setup dialog The Template function Summary Appendix: Rational and Complex Numbers Rational numbers Complex numbers Summary Index

Similar books