The ZooLib Cookbook

Michael David Crawford


PDF Format

PDF US Letter thumbnail
US Letter

PDF A4 thumbnail

If you link to The ZooLib Cookbook from your own website, be advised that this document is a work in progress, so the names or locations of some of the HTML pages may change or disappear. If you want to link here, for now it is best just to link to this title page.

Creative Commons License
The ZooLib Cookbook by Michael David Crawford is licensed under a Creative Commons Attribution-Share Alike 3.0 Unported License.

February 7, 2009

Table of Contents

1. Introduction
2. ZHelloWorld
ZMain: the Application Entry Point
ZHelloWorld_App: the Application Object
Installing the Menus
ZRef: the Thread-Safe Reference Counted Smart Pointer
ZHelloWorld_Window: the Window Objects
The Window Class Declaration
Our First Look at ZPaneLocator
Constructing and Destructing the Window
Creating the Window's Menus
Enabling the Menu Items
Handling Menu Messages