Learn to Program for Windows: Sample Code
This section contains links to sample code for the series Learn to Program for Windows in C++.
In This Section
| Topic | Description |
|---|---|
|
This sample application shows how to create a minimal Windows program. | |
|
This sample application shows how to pass application state data in the WM_NCCREATE message. | |
|
This sample application shows how to initialize the Component Object Model (COM) library and use a COM-based API in a Windows program. | |
|
This sample application shows how to draw a circle using Direct2D. | |
|
This sample application shows how to use transforms in Direct2D to draw the hands of a clock. | |
|
This sample application shows how to use mouse input to draw a circle. | |
|
This sample application is a very simple drawing program that shows how to use mouse input, keyboard input, and accelerator tables. |
Related Topics
Send comments about this topic to Microsoft
Build date: 10/5/2010