Compile and link the Output application and then start Windows and the application. The application should look like this:
You can use the WM_PAINT case of this application to experiment with a variety of GDI functions. For information about other GDI output functions, see the Microsoft Windows Programmer's Reference, Volume 2.