Get Started with Win32: Sample Code
This section contains links to sample code for the series Get Started with Win32 and C++.
In this section
Topic | Description |
---|---|
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. |