Class definition file: wplnchpd.idl
Class hierarchy SOMObject
WPObject
WPAbstract
WPLaunchPad
Description
This class is specific to version 3, or higher, of the OS/2 operating system. This is the front panel object class.
The Toolbar is a convenience for users that provides fast access to frequently used objects and Desktop actions. Objects can be placed on the Toolbar or in drawers, which are represented by a small button above objects on the Toolbar. There is no limit to the number of Toolbars that can exist in the system. The system Toolbar is defined as the one with an OBJECTID of <WP_LAUNCHPAD>.
An instance of this class can be created as a Workplace object. An instance of this class is created initially by the system. It has the title, "Toolbar" and resides in the "System Startup" folder.
Menu ID list
The following list shows the WPMENUID menu IDs for this class:
Menu item text
Instance methods
The following list shows all the WPLaunchPad methods.
SOMObject instance methods
The following list shows all the instance methods overridden by the WPObject class. These instance methods are overridden in order to modify the behavior defined by an ancestor class.
WPObject instance methods
The following list shows all the methods overridden by the WPLaunchPad class. These methods are overridden in order to modify the behavior defined by an ancestor class.
wpSetup override by WPLaunchPad
Following are keyname-value pairs added by the WPLaunchPad class. The following table contains setup strings that can be used with WinCreateObject and WinSetObjectData to customize Toolbars:
┌───────────────┬───────────────┬──────────────────────────────┐│KEYNAME │VALUE │DESCRIPTION │ ├───────────────┼───────────────┼──────────────────────────────┤ │FPOBJECTS │object IDs or │Adds objects to the end of the│ │ │path and file │Toolbar. If multiple objects │ │ │names │exist, the objects are │ │ │ │separated by a comma. For │ │ │ │example: │ │ │ │<WP_OS2WIN>,<WP_OS2EO> │ ├───────────────┼───────────────┼──────────────────────────────┤ │DRAWEROBJECTS │drawer number, │Adds the objects to the end of│ │ │object IDs or │the numbered Toolbar drawer. │ │ │path and file │The drawer number is followed │ │ │names │by a comma-delimited set of │ │ │ │object IDs or path and file │ │ │ │names. The drawer number and │ │ │ │first object must be separated│ │ │ │by a comma. Examples of │ │ │ │drawer numbers : 0=Toolbar, │ │ │ │1=Left-most drawer, and so │ │ │ │forth. │ ├───────────────┼───────────────┼──────────────────────────────┤ │LPCLOSEDRAWER │YES │The Toolbar drawers will close│ │ │ │after an object in the drawer │ │ │ │is opened. │ ├───────────────┼───────────────┼──────────────────────────────┤ │ │NO │The Toolbar drawers will stay │ │ │ │open after an object in the │ │ │ │drawer is opened. │ ├───────────────┼───────────────┼──────────────────────────────┤ │LPACTIONSTYLE │TEXT │Display the action buttons as │ │ │ │text (the default). │ ├───────────────┼───────────────┼──────────────────────────────┤ │ │OFF │Turns off the display of │ │ │ │action buttons. │ ├───────────────┼───────────────┼──────────────────────────────┤ │ │MINI │Displays the action buttons as│ │ │ │mini-icons. │ ├───────────────┼───────────────┼──────────────────────────────┤ │ │NORMAL │Displays the action buttons as│ │ │ │normal (large) icons. │ ├───────────────┼───────────────┼──────────────────────────────┤ │LPVERTICAL │YES │The Toolbar will be displayed │ │ │ │vertically. │ ├───────────────┼───────────────┼──────────────────────────────┤ │ │NO │The Toolbar will be displayed │ │ │ │horizontally (the default). │ ├───────────────┼───────────────┼──────────────────────────────┤ │LPTEXT │YES │The object titles will appear │ │ │ │on the Toolbar. This has no │ │ │ │effect on the objects in the │ │ │ │drawers. │ ├───────────────┼───────────────┼──────────────────────────────┤ │ │NO │The object titles will be │ │ │ │hidden. This has no effect on│ │ │ │the objects in the drawers. │ ├───────────────┼───────────────┼──────────────────────────────┤ │LPDRAWERTEXT │YES │The object titles will appear │ │ │ │on the objects in the drawers.│ │ │ │This has no effect on the │ │ │ │objects on the Toolbar. │ ├───────────────┼───────────────┼──────────────────────────────┤ │ │NO │.The object titles will be │ │ │ │hidden. This has no effect on│ │ │ │the objects on the Toolbar. │ ├───────────────┼───────────────┼──────────────────────────────┤ │LPSMALLICONS │YES │Objects are displayed using │ │ │ │small icons. │ ├───────────────┼───────────────┼──────────────────────────────┤ │ │NO │Objects are displayed using │ │ │ │large (normal) icons. │ ├───────────────┼───────────────┼──────────────────────────────┤ │LPHIDECTLS │YES │The frame controls (title bar │ │ │ │and system menu) are hidden │ │ │ │(the default). │ ├───────────────┼───────────────┼──────────────────────────────┤ │ │NO │The frame controls are │ │ │ │displayed. │ ├───────────────┼───────────────┼──────────────────────────────┤ │LPFLOAT │YES │The Toolbar will float on top │ │ │ │of all other windows. │ ├───────────────┼───────────────┼──────────────────────────────┤ │ │NO │The Toolbar will not float on │ │ │ │top of all other windows. │ └───────────────┴───────────────┴──────────────────────────────┘
Class methods
There are currently no class methods defined for the WPLaunchPad Workplace class object.
WPObject class methods
The following list shows all the class methods overridden by the WPLaunchPad class. These methods are overridden to modify the behavior defined by an ancestor class.