- Inside Macintosh: Cyberdog Programmer's Kit / Part 2 - Programming in Cyberdog
Chapter 3 - Adding Cyberdog Features to an OpenDoc Part
This chapter describes the steps required to create and use a Cyberdog item, Cyberdog menus, and the Cyberdog preferences dialog box in any OpenDoc part. This chapter shows you how to
- initialize and release Cyberdog objects
- create a Cyberdog item from URL text
- read a Cyberdog item from a storage unit
- write a Cyberdog item to a storage unit
- open a Cyberdog item
- handle drag and drop of a Cyberdog item
- set up Cyberdog menus
- implement the Cyberdog preferences menu item
The examples shown in this chapter are based on the CybTxtBtn sample code on the Cyberdog Programmer's Kit CD.
Chapter Contents
- About the Sample Cyberdog Button
-
- Modifying Your Part's Class Definition
-
- Initializing and Releasing Cyberdog Objects
-
- Manipulating a Cyberdog Item
-
- Creating a Cyberdog Item From a URL
-
- Reading and Writing Cyberdog Items
-
- Opening a Cyberdog Item
-
- Supporting Drag and Drop of Cyberdog Items
-
- Displaying Cyberdog Menus
-
- Implementing the Cyberdog Preferences Command
-
© Apple Computer, Inc.
13 JUL 1996