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.
“The Old Dialog Manager Code” summarizes the Dialog Manager code used to implement the user item and describes how you might update it to use views.
“The New Custom View” describes a possible implementation for the new custom view, based on the recommendations given in the previous section.
The Old Dialog Manager Code
The New Custom View
Last updated: 2004-06-28