Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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

TopicDescription

Windows Hello World Sample

This sample application shows how to create a minimal Windows program.

BaseWindow Sample

This sample application shows how to pass application state data in the WM_NCCREATE message.

Open Dialog Box Sample

This sample application shows how to initialize the Component Object Model (COM) library and use a COM-based API in a Windows program.

Direct2D Circle Sample

This sample application shows how to draw a circle using Direct2D.

Direct2D Clock Sample

This sample application shows how to use transforms in Direct2D to draw the hands of a clock.

Draw Circle Sample

This sample application shows how to use mouse input to draw a circle.

Simple Drawing Sample

This sample application is a very simple drawing program that shows how to use mouse input, keyboard input, and accelerator tables.

 

Related Topics

Learn to Program for Windows in C++

 

 

Send comments about this topic to Microsoft

Build date: 10/5/2010

Community Additions

ADD
Show:
© 2015 Microsoft