Retired Document
Important: This sample code may not represent best practices for current development. The project may use deprecated symbols and illustrate technologies and techniques that are no longer recommended.
AppearanceHelpers.h
#ifndef _APPEARANCEHELPERS_ |
#define _APPEARANCEHELPERS_ |
#ifdef __MWERKS__ |
// includes for MetroWerks CodeWarrior |
#include <Controls.h> |
#include <Lists.h> |
#else |
#ifdef __APPLE_CC__ |
// includes for ProjectBuilder |
#include <Carbon/Carbon.h> |
#else |
// includes for MPW |
#include <Carbon.h> |
#endif |
#endif |
extern pascal OSStatus SetPushButtonDefaultState ( ControlHandle control, Boolean isDefault ); |
extern pascal OSStatus SetProgressIndicatorState ( ControlHandle control, Boolean isDeterminate ); |
extern pascal OSStatus GetListBoxListHandle ( ControlHandle control, ListHandle* list ); |
#endif // _APPEARANCEHELPERS_ |
Copyright © 2003 Apple Computer, Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2003-01-30