You will dive into the core architecture of Windows desktop applications by using C++ and the WinAPI. You will learn to construct the essential components of a GUI program, from defining window behavior to managing the continuous message loop that keeps your application alive and responsive.
Overview
Syllabus
- Unit 1: WinMain Class Setup
- Building the Window Blueprint
- Preparing the Program Flow
- Safer Window Setup
- Building the Window Instance
- Keeping Windows Consistent
- Where Did The Window Go
- Speaking the Windows Language
- Unit 2: The Application Message Loop
- Building the Message Loop
- Message Loop Clean Start
- Listening Until the End
- Completing the Message Flow
- Keeping Messages Moving
- Closing the Loop
- A Safer Message Loop
- Unit 3: The Window Procedure Function
- Linking Across Source Files
- Clean Exit Sequence
- Beginning the Shutdown Path
- Restoring Window Behavior
- The Missing Link