Legacy Documentclose button

Important: This document is part of the Legacy section of the ADC Reference Library. This information should not be used for new development.

Current information on this Reference Library topic can be found here:

Version: 1.0

Posted: 2003-01-14

Build Requirements: N/A

Runtime Requirements: Carbon PowerPlant

View Source Code:

Download Sample (“Win2MacCounterSamples.zip”, 6.76M)
Download Sample (“Win2MacCounterSamples.dmg”, 7.55M)



Description

Sample code to accompany Chapter 12 of "An Introduction to Macintosh Programming for Windows Programmers". This sample contains a series of six C++ sample programs used to illustrate how to write a simple Macintosh application. The samples use the Metrowerks PowerPlant applications framework, which ships as part of the CodeWarrior Integrated Development environment. (PowerPlant ships with a wide range of useful sample programs. We'll describe many of those in more detail below.) These samples illustrate many common applications features, including: 1. Multiple document windows. 2. Disk files for persistent data. 3. Menu items for modifying the data. 4. Buttons for modifying the data. 5. Modal dialogs. 6. Printing. 7. Custom application and document icons. 8. Customized "About this program..." dialog. Requirements: PowerPlant Keywords: counter, windows, introduction, document, menu, modal dialog, printing, about, Win2MacCounterSamples

Document Revision History

Date Notes
2003-01-14First Version

Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.