★ wanayoo — archive 1999 http://developer.apple.com/samplecode/Sample_Code/Overview/Win2MacCounterSamples.htmNouvelle recherche | Portail wanayoo
Technical: Sample Code: Overview: Win2MacCounterSamples
Apple - Developer

ADC Home Page Membership Home Page Technical Home Page Business Home Page Log In ADC Site Map Search ADC Site
Overview
ADC Resources
Sample Code

Win2MacCounterSamples

download (6.2 MB)

Version:

1.0

Date:

Monday, September 20, 1999

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




Samples are designed to work with CodeWarrior 2 or later and Universal Interfaces 3.2 unless otherwise noted. Archives can be uncompressed with StuffIt Expander 5.0 or later.
Gray line
 
Site Map | Search Tips | Options | Keywords

Contact Us | Privacy Notice
Copyright © 2000 Apple Computer, Inc. All rights reserved.
1-800-MY-APPLE