WPObject is the WPS base class for all objects. It is not used directly, but all other WPS classes are derived from it. As a result, all Desktop objects (including files, folders, and program objects) support the following setup strings:
CCVIEW=DEFAULT
Uses the default value of the concurrent view setting of the system, when the user selects open. This is the default value.

CCVIEW=YES
Creates new views of the object every time the user selects open.

CCVIEW=NO
Resurfaces open views of object, when the user selects open.

HELPLIBRARY=filename
Sets the help library.

HELPPANEL=id
Sets the object's default help panel within the help library. You better not mess with these settings, for you have to know the WPS internal help resource IDs.

HIDEBUTTON={YES|NO}
Determine whether views of this object have a hide button as opposed to a minimize button. The default is the current system Button appearance for windows setting. This cannot be specified here.

ICONFILE=filename
Sets the object's icon. filename must be a ".ICO" file. For folders, this specifies the "closed" icon.

ICONPOS=x,y
Sets the object's initial icon position in the parent folder. The x and y values represent the position in the folder in percentage coordinates.

ICONRESOURCE=id,dllfile
Sets the object's icon to data residing in a resource file. The id is the icon resource ID in the dynamic link library (DLL) dllfile. For folders, this specifies the "closed" icon.

LOCKEDINPLACE={YES|NO} (&warp4; and higher only)
Specifies whether the object is fixed or not fixed in position.

MENUITEMSELECTED menu-item-id (&warp4; and higher only)
Simulates selecting the specified menu item from the object's popup menu. menu-item-id must be a numeric value.
You may obtain the menu-item-id with the XRAY tool which is available on the Internet. Or look on the respective "WPS Menu IDs" page. (Hey, this setting works for XFolder menu items also, BTW.)
This is not really a "setting", but rather a command to be performed on the folder.

MENUS={SHORT|LONG} (&warp4; and higher only)
Determine whether this object has a short popup menu (without menu entries that duplicate drag 'n' drop functions) or the full one.

MINWIN={HIDE|VIEWER|DESKTOP}
Determine whether the minimized object will be hidden, placed into the "Minimized Windows" view, or minimized to the desktop.

The default is the current Minimize button setting. This cannot be specified here.

NOCOPY={YES|NO}
The object cannot be copied.

NODELETE={YES|NO}
The object cannot be deleted. Be careful with this one.

NODRAG={YES|NO}
The object cannot be dragged with the mouse.

NODROP={YES|NO}
The object will not accept any objects dropped upon it.

NOLINK={YES|NO}
No shadows can be created of this object.

NOMOVE={YES|NO}
The object cannot be moved.

NOPRINT={YES|NO}
The object cannot be printed.

NORENAME={YES|NO}
The object cannot be renamed.

NOSETTINGS={YES|NO}
The object's settings notebook cannot be opened.

NOSHADOW={YES|NO}
same as NOLINK.

NOTVISIBLE={YES|NO}
The object is not visible. Be careful with this style, since you might not be able to get the object back.

OBJECTID=<name>
Sets a persistent ID for the object. An Object ID is any unique string preceded with a < and terminated with a >.
Object IDs are useful for identifying objects without knowing their exact location on the user's desktop. For example, the desktop always has the ID <WP_DESKTOP> on every system; the XFolder Configuration folder is assigned an ID of <XFOLDER_CONFIG>, so that XFolder finds it even though you might have moved it to a different location. See the "WPS Object IDs" page for a listing of system IDs.

Object IDs are even necessary to be able to locate abstract Desktop objects (e.g. shadows or program objects) from REXX, since these objects do not appear in the file system. So if you create an abstract object from REXX and wish to be able to open it from REXX also, you must assign it an Object ID.

The default is to not have an ID.

OPEN={SETTINGS|DEFAULT|ICON|TREE|DETAILS}
Open a view now. This is the clever trick used by a zillion REXX scripts on the Internet to open an object from the &os2; command line.
OPEN=DEFAULT will open the default view of the object (as if you had double-clicked on it). OPEN=SETTINGS will open the object's settings notebook. All the other values are valid for folders only.
This is not really a "setting", but rather a command to be performed on the folder. It will open immediately.

TEMPLATE={YES|NO}
Determines whether this object is a template or not. Default is NO (of course).

TITLE=title
Sets the object's title to something new. This will also change the "real" filename (if the object represents a file), just as if you had changed the title from the WPS.