home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: WPS_PM
/
WPS_PM.zip
/
howtowps.zip
/
howtosetup.txt
< prev
next >
Wrap
Text File
|
2002-01-26
|
5KB
|
250 lines
___________________________________________________________________
WPS SETUP STRINGS and
OPEN VIEW ID NUMBERS
Below is a list of all documented setup strings for WPObject,
WPProgram, WPFolder, WPShadow, and WPLaunchPad. Following
that is a listing of the numeric values assigned to WPS
objects' open views.
Additional information can be found in the _Workplace Shell
Programming Reference_ (WPS1.INF, WPS2.INF, and WPS3.INF).
___________________________________________________________________
WPObject
========
CCVIEW=
DEFAULT | YES | NO
DEFAULTVIEW=
SETTINGS | view id | DEFAULT
HELPLIBRARY=
.hlp file
HELPPANEL=
id
HIDEBUTTON=
YES | NO
ICONFILE=
.ico file
ICONPOS=
x,y
ICONRESOURCE=
id,module
LOCKEDINPLACE=
YES | NO
MENUITEMSELECTED=
menu-item-id
MENUS=
SHORT
MINWIN=
HIDE | VIEWER | DESKTOP
NOCOPY=
YES | NO
NODELETE=
YES | NO
NODRAG=
YES | NO
NODROP=
YES | NO
NOLINK=
YES | NO
NOMOVE=
YES | NO
NOPRINT=
YES | NO
NORENAME=
YES | NO
NOSETTINGS=
YES | NO
NOSHADOW=
YES | NO
NOTVISIBLE=
YES | NO
OBJECTID=
<name>
[example: OBJECTID=<WP_SYSED>]
OPEN=
SETTINGS | DEFAULT
TEMPLATE=
YES | NO
TITLE=
name of object
___________________________________________________________________
WPProgram
=========
ASSOCFILTER=
associated file extensions, separated by commas
ASSOCTYPE=
associated file types, separated by commas
EXENAME=
file
MAXIMIZED=
YES | NO
MINIMIZED=
YES | NO
PROGTYPE=
DOSMODE | FULLSCREEN | PM | PROG_30_STD | PROG_31_ENH |
PROG_31_ENHSEAMLESSCOMMON | PROG_31_ENHSEAMLESSVDM |
PROG_31_STD | PROG_31_STDSEAMLESSCOMMON |
PROG_31_STDSEAMLESSVDM | SEPARATEWIN | VDM | WIN |
WINDOWABLEVIO | WINDOWEDVDM | WINDOWEDWIN
NOAUTOCLOSE=
YES | NO
PARAMETERS=
commandline parameters
SET
name=value
[example: SET DPMI_MEMORY_LIMIT=64]
STARTUPDIR
path
___________________________________________________________________
WPFolder
========
ALWAYSSORT=
YES | NO
BACKGROUND=
1,2,3,4,5
1. Image filename or "(none)"
2. N | T | S [normal / tiled / scaled]
3. scaling factor
4. I | C [image /color only]
5. rgb [bkgnd color, eg: 0,128,256]
DEFAULTSORT=
index
[note: -2 Name, -1 Type, 5 Real Name, 6 Size, etc.)
DETAILSCLASS=
class name
DETAILSFONT=
font name
DETAILSSHADOWCOLOR=
rgb
[example: 128,0,256]
DETAILSTEXTCOLOR=
rgb
DETAILSTODISPLAY=
column[,...]
[note: column is the column number in Details view]
DETAILSVIEW=
NORMAL | MINI
ICONFONT=
font name
ICONGRIDSIZE=
x
ICONNFILE=
1,iconfile
ICONNRESOURCE=
1,id,modname
ICONSHADOWCOLOR=
rgb
ICONTEXTBACKGROUNDCOLOR=
rgb
ICONTEXTCOLOR=
rgb
ICONTEXTVISIBLE=
YES | NO
ICONVIEW=
x[,y,...z]
GRIDDED | NONGRID
FLOWED | NONFLOWED
MINI | NORMAL | INVISIBLE
ICONVIEWPOS=
x,y,cx,cy
MENUBAR=
YES | NO
REMOVEFONTS=
YES | NO
SHOWALLINTREEVIEW=
YES | NO
SORTBYATTR=
index[,...]
SORTCLASS=
class name
TREEFONT=
font name
TREESHADOWCOLOR=
rgb
TREETEXTCOLOR=
rgb
TREETEXTVISIBLE=
YES | NO
TREEVIEW=
x[,y]
LINES | NOLINES
INVISIBLE | MINI | NORMAL
WORKAREA=
YES | NO
View Styles
FLOWED | NONFLOWED | NONGRID
NORMAL | MINI | INVISIBLE
LINES | NOLINES
[note: these keywords are entered without an equal sign]
___________________________________________________________________
WPShadow
========
SHADOWID=
<ObjectID> | filename
___________________________________________________________________
WPLaunchpad
===========
FPOBJECTS=
obj1[,obj2,...objN]
[objX is an <ObjectID> or path and file name
DRAWEROBJECTS=
drawer-number,obj1[,obj2,...objN]
[drawer-numbers: 0=Launchpad, 1=leftmost drawer, etc.)
LPCLOSEDRAWER=
YES | NO
LPACTIONSTYLE=
TEXT | OFF | MINI | NORMAL
LPVERTICAL=
YES | NO
LPTEXT=
YES | NO
LPDRAWERTEXT=
YES | NO
LPSMALLICONS=
YES | NO
LPHIDECTLS=
YES | NO
LPFLOAT=
YES | NO
___________________________________________________________________
Open View IDs
=============
-1 UNKNOWN
0 DEFAULT
1 CONTENTS (icon view)
2 SETTINGS
3 HELP
4 RUNNING (run pgm; for data files, run associated pgm)
101 TREE (tree view)
102 DETAILS (details view)
120 AUTO (WPDisk objects only)
121 PALETTE (color and font palettes, plus the LaunchPad)
4096 the 1st pgm associated with a data file (usually 1st on its Open menu)
4097 the 2nd pgm associated with a data file (usually 2nd on its Open menu)
etc
5000 the 1st pgm added to a data file's Open menu using the Menu page
5001 the 2nd pgm added via the Menu page
etc
25856 USER (proprietary view IDs start here; USER+1 is most common)
42818 TextView (OD v1.0)
46914 TextView (OD v1.5)
___________________________________________________________________
Compiled from various sources on May 29, 1998 by Richard L. Walsh
(rlwalsh@packet.net) using an alpha version of DragText v3.0.
___________________________________________________________________