Apple Developer Connection
Member Login Log In | Not a Member? Contact ADC

< Previous PageNext Page > Hide TOC

A Porting Example: Converting a User Item to a Custom View

This chapter describes how you might convert a dialog-based user item into a custom HIView.

This example user item/view draws a black box outline, sized to fit inside its bounds. Within the box is a square spot that the user can move or drag around by clicking in the box. The work needed to convert the user item covers many of the steps outined in “Porting Steps”: updating Dialog Manager functions, adopting Carbon events, adopting Quartz, and creating a custom view.

Contents:

The Old Dialog Manager Code
The New Custom View




< Previous PageNext Page > Hide TOC


Last updated: 2004-06-28




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.
Get information on Apple products.
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Copyright © 2007 Apple Inc.
All rights reserved. | Terms of use | Privacy Notice