Events
May 19, 6 PM - May 23, 12 AM
Calling all developers, creators, and AI innovators to join us in Seattle @Microsoft Build May 19-22.
Register todayThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
The aim of this Get Started series is to teach you how to write a desktop program in C++ using Win32 and COM APIs.
In the first module, you'll learn step-by-step how to create and show a window. Later modules will introduce the Component Object Model (COM), graphics and text, and user input.
For this series, it is assumed that you have a good working knowledge of C++ programming. No previous experience with Windows programming is assumed. If you are new to C++, learning material is available in the C++ language documentation.
Topic | Description |
---|---|
Intro to Win32 programming in C++ |
This section describes some of the basic terminology and coding conventions used in Windows programming. |
Module 1. Your First Windows Program |
In this module, you will create a simple Windows program that shows a blank window. |
Module 2. Using COM in Your Windows Program |
This module introduces the Component Object Model (COM), which underlies many of the modern Windows APIs. |
Module 3. Windows Graphics |
This module introduces the Windows graphics architecture, with a focus on Direct2D. |
Module 4. User Input |
This module describes mouse and keyboard input. |
Sample Code |
Contains links to download the sample code for this series. |
Events
May 19, 6 PM - May 23, 12 AM
Calling all developers, creators, and AI innovators to join us in Seattle @Microsoft Build May 19-22.
Register today