กก

กก

Windows API Tutorials

The tutorials start with the most basic Windows program, the Windows equivalent of "Hello World!", Winnie. Then we move on to a more Generic program, which serves as a skeleton for a simple Windows application. Then we discuss various Controls. Using these controls one can build a complete dialog-based application, whose main window is a dialog. We are then ready to discuss a Generic Dialog, a framework with which one can quickly build specific dialogs.

To do some simple graphics one needs a Canvas object. You use Pens and Brushes to paint on the canvas.

More advanced topics include programming with Threads with a practical example of a Folder Watcher--a program that watches directories for changes.

Modern Windows programming requires some knowledge of the Shell API, which leads us to the discussion of OLE and COM. We show how one can encapsulate OLE in C++ to create Smart OLE. OLE is also used in Automation, which lets your application talk to other applications.

Controls are nothing but specialized windows. You can easily create your own controls, as evidenced by the Splitter Bar tutorial.

For graphics programmer, we give a short introduction on using Bitmaps for animation and a more advanced tutorial on using Direct Draw.


กก

Subscription and off-line browsing

You can subscribe to our tutorials directly, or you can view our tutorials off-line by using the subscription option in your browser. Both Microsoft Internet Explorer 4.0 and Netscape Navigator 4.0 or later have this option.

Some of you asked why we don't provide a zipped version of the tutorials. Unfortunately we don't have the resources to keep both versions in synch. Sorry!


Here is how you subscribe to tutorials in IE 4.0:
  • Add current page to your Favorites and
  • Choose the option to subscribe by clicking on "Yes, notify me of updates and download the page for offline viewing."
  • Click on "Customize,"
  • Choose "Download this page and pages linked to it."
  • Choose link depth 1 to get all the Windows tutorials (or 2, if you want the source code for the examples).

Updating Win API Tutorial

The tutorial is less than 0.5 MB and the book is about a megabyte, and you can do the downloading during off-peak hours. To update the pages on your computer,
  • Select Manage Subscriptions from the Favorites menu.
  • Select the subscription(s) you want to refresh and
  • Click on the Update button.
When you are ready to browse, Select Work Off-line from your browser's File menu and go to your Favorites menu.
 

Subscribing to C++ In Action

Follow instructions above to subscribe to each chapter separately using depth 3. Subscribing to the top page will result in following the links to Amazon, Barnes & Noble, and Microsoft.