C++ windows programming develop real-world applications in windows

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-specif...

Descripción completa

Detalles Bibliográficos
Otros Autores: Björnander, Stefan, author (author)
Formato: Libro electrónico
Idioma:Inglés
Publicado: Birmingham, England : Packt Publishing 2016.
Edición:1st edition
Colección:Community experience distilled.
Materias:
Ver en Biblioteca Universitat Ramon Llull:https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009630351006719
Tabla de Contenidos:
  • 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.