Learn to Program for Windows in C++

Welcome to the series Learn to Program for Windows in C++. The aim of this series is to teach you how to write a Windows program in C++.

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++, you can find learning material at the Visual C++ Developer Center.)

In This Section


Introduction to Windows 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.




Send comments about this topic to Microsoft

Build date: 10/5/2010