Select the Create Instance choice.
Note: Only an instance of a physical workplace object class can
be created. In other words, you cannot create instances of WPObject or WPClass
because they are not physical classes.
4.
Complete the following input fields:
Object Title
The text string you assign to the
object. The text string becomes the object title and appears under the object
when the object is displayed on the Workplace Shell. When the object is
in an opened state, the text string appears in the title bar of the window.
Class of new object
The name of the class
of which the object you selected is a member.
Parameters
A series of keyname=value pairs
(separated by semicolons) that change the behavior of the object. Each object
class defines the key names and parameters it expects to see. All parameters
have safe defaults, so it is never required that parameters be passed to
an object.
Location
A real name specified by a fully
qualified file specification, such as C:\OS2\DLL\MINXOBJ.DLL, or a logical
name specified by a predefined symbol.
Examples of logical names include the following:
LOCATION_NOWHERE
LOCATION_DESKTOP
LOCATION_SYSTEM
LOCATION_TEMPLATES
LOCATION_SYSTEMSETUP
LOCATION_STARTUP
LOCATION_INFORMATION
LOCATION_DRIVES
[Back: Starting Workplace Class List]
[Next: Replacing a Workplace Object Class]