Jump to content

WPLaunchPad: Difference between revisions

From EDM2
Created page with "Captured from a message in a public CompuServe Forum Author: Dick Goran, (see EMail Addresses) (see also Changing the LaunchPad; see Sample code to create a LaunchPad for a worki..."
 
Ak120 (talk | contribs)
mNo edit summary
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Captured from a message in a public CompuServe Forum
(OS/2 V3) This is the LaunchPad class. There may be several objects of this class.
Author: Dick Goran, (see EMail Addresses) (see also Changing the LaunchPad; see Sample code to create a LaunchPad for a working example)


;Default Title: "Toolbar"
The third edition of the REXX Reference Summary Handbook has all of the
;DLL: [[PMWP.DLL]]
setup strings for WPLaunchPad. In addition,
;Class definition file: wplnchpd.idl
I have included them here:


  Class WPLaunchPad
==Class hierarchy SOMObject==
*[[WPObject]]
**[[WPAbstract]]
***WPLaunchPad


  Key Name        Value          Description    (OS/2 3.0)
==Instance methods==
  ---------------------------------------------------------
*wpAddLaunchPadPage1
  DRAWEROBJECTS    n,object [, ...]
*wpAddLaunchPadPage2
                                  A comma delimited list,
*wpQueryActionButtons
                                  each of which
*wpQueryActionButtonStyle
                                  represents a drawer
*wpQueryCloseDrawer
                                  number followed by
*wpQueryDisplaySmallIcons
                                  either object IDs or
*wpQueryDisplayText
                                  fully qualified path
*wpQueryDisplayTextInDrawers
                                  names. The drawer
*wpQueryDisplayVertical
                                  number (0 = LaunchPad
*wpQueryDrawerHWND
                                  itself, 1 = first
*wpQueryFloatOnTop
                                  drawer, etc.) is
*wpQueryHideLaunchPadFrameCtls
                                  separated from the
*wpQueryObjectList
                                  object name with a
*wpRefreshDrawer
                                  comma.
*wpSetActionButtonStyle
*wpSetCloseDrawer
  FPOBJECTS        <object ID> | filename [, ...]
*wpSetDisplaySmallIcons
                                  A comma delimited list
*wpSetDisplayText
                                  of objects to be added
*wpSetDisplayTextInDrawers
                                  to the end of the
*wpSetDisplayVertical
                                  LaunchPad. The value(s)
*wpSetDrawerHWND
                                  for this key name
*wpSetFloatOnTop
                                  is/are an object IDs or
*wpSetHideLaunchPadFrameCtls
                                  fully qualified path
*wpSetObjectListFromHObjects
                                  names.
*wpSetObjectListFromObjects
*wpSetObjectListFromStrings


      Note:  This is equivalent to specifying
==SOMObject instance methods==
      DRAWEROBJECTS with a drawer number of 0.
*somDefaultInit
*somDestruct


  LPACTIONSTYLE    TEXT          Display action buttons
==WPObject instance methods==
                                  as text.
*wpAddObjectWindowPage
*wpAddSettingsPages
*wpDragOver
*wpDrop
*wpFilterMenu
*wpInitData
*wpMenuItemHelpSelected
*wpMenuItemSelected
*wpOpen
*wpQueryConcurrentView
*wpRestoreState
*wpSaveState
*wpSetup
*wpUnInitData


                  MINI          Display action buttons
==WPObject class methods==
                                  as mini icons.
*wpclsQueryDefaultHelp
*wpclsQueryDefaultView
*wpclsQueryIconData
*wpclsQuerySettingsPageSize
*wpclsQueryStyle
*wpclsQueryTitle


                  NORMAL        Display action buttons
==Extra Information==
                                  as normal sized icons.
Captured from a message in a public CompuServe Forum
 
Author: Dick Goran, (see EMail Addresses) (see also Changing the LaunchPad; see Sample code to create a LaunchPad for a working example)
                  OFF            Do not display action
                                  buttons.
 
  LPCLOSEDRAWER    NO | YES      Specifies whether a
                                  drawer should be closed
                                  after a LaunchPad
                                  object is opened.
 
  LPDRAWERTEXT    NO | YES      Specifies whether
                                  object titles should be
                                  displayed on the
                                  LaunchPad drawers (not
                                  buttons).
 
  LPFLOAT          NO | YES      Specifies whether the
                                  LaunchPad should float
                                  to the top of other
                                  windows.
 
  LPHIDECTLS      YES | NO      Specifies whether the
                                  LaunchPad frame
                                  controls (i.e. title
                                  bar and icon) should be
                                  hidden.
 
  LPSMALLICONS    NO | YES      Specifies whether small
                                  icons or default size
                                  icons should be
                                  displayed on the
                                  LaunchPad.


  LPTEXT          NO | YES       Specifies whether
The third edition of the REXX Reference Summary Handbook has all of the setup strings for WPLaunchPad. In addition, I have included them here:
                                  object titles should be
{|class="wikitable"
                                  displayed on the
|+Class WPLaunchPad
                                  LaunchPad buttons (not
!Key Name||Value||Description (OS/2 Warp 3.0)
                                  drawers).
|-
|DRAWEROBJECTS
|n,object [, ...]||A comma delimited list, each of which represents a drawer number followed by either object IDs or fully qualified path names. The drawer number (0 = LaunchPad itself, 1 = first drawer, etc.) is separated from the object name with a comma.
|-
|FPOBJECTS
|
<object ID> | filename [, ...]
|A comma delimited list of objects to be added to the end of the LaunchPad. The value(s) for this key name is/are an object IDs or fully qualified path names.
Note:  This is equivalent to specifying DRAWEROBJECTS with a drawer number of 0.
|-
|rowspan=4|LPACTIONSTYLE||TEXT||Display action buttons as text.
|-
|MINI||Display action buttons as mini icons.
|-
|NORMAL||Display action buttons as normal sized icons.
|-
|OFF||Do not display action buttons.
|-
|LPCLOSEDRAWER
|
NO | YES
|Specifies whether a drawer should be closed after a LaunchPad object is opened.
|-
|LPDRAWERTEXT
|
NO | YES
|Specifies whether object titles should be displayed on the LaunchPad drawers (not buttons).
|-
|LPFLOAT
|
NO | YES
|Specifies whether the LaunchPad should float to the top of other windows.
|-
|LPHIDECTLS
|
YES | NO
|Specifies whether the LaunchPad frame controls (i.e. title bar and icon) should be hidden.
|-
|LPSMALLICONS
|
NO | YES
|Specifies whether small icons or default size icons should be displayed on the LaunchPad.
|-
|LPTEXT
|
NO | YES
|Specifies whether object titles should be displayed on the LaunchPad buttons (not drawers).
|-
|LPVERTICAL
|
NO | YES
|Specifies whether the LaunchPad should be displayed horizontally or vertically.
|}


  LPVERTICAL      NO | YES      Specifies whether the
[[Category:WPS Classes]]
                                  LaunchPad should be
                                  displayed horizontally
                                  or vertically.

Latest revision as of 01:51, 14 February 2020

(OS/2 V3) This is the LaunchPad class. There may be several objects of this class.

Default Title
"Toolbar"
DLL
PMWP.DLL
Class definition file
wplnchpd.idl

Class hierarchy SOMObject

Instance methods

  • wpAddLaunchPadPage1
  • wpAddLaunchPadPage2
  • wpQueryActionButtons
  • wpQueryActionButtonStyle
  • wpQueryCloseDrawer
  • wpQueryDisplaySmallIcons
  • wpQueryDisplayText
  • wpQueryDisplayTextInDrawers
  • wpQueryDisplayVertical
  • wpQueryDrawerHWND
  • wpQueryFloatOnTop
  • wpQueryHideLaunchPadFrameCtls
  • wpQueryObjectList
  • wpRefreshDrawer
  • wpSetActionButtonStyle
  • wpSetCloseDrawer
  • wpSetDisplaySmallIcons
  • wpSetDisplayText
  • wpSetDisplayTextInDrawers
  • wpSetDisplayVertical
  • wpSetDrawerHWND
  • wpSetFloatOnTop
  • wpSetHideLaunchPadFrameCtls
  • wpSetObjectListFromHObjects
  • wpSetObjectListFromObjects
  • wpSetObjectListFromStrings

SOMObject instance methods

  • somDefaultInit
  • somDestruct

WPObject instance methods

  • wpAddObjectWindowPage
  • wpAddSettingsPages
  • wpDragOver
  • wpDrop
  • wpFilterMenu
  • wpInitData
  • wpMenuItemHelpSelected
  • wpMenuItemSelected
  • wpOpen
  • wpQueryConcurrentView
  • wpRestoreState
  • wpSaveState
  • wpSetup
  • wpUnInitData

WPObject class methods

  • wpclsQueryDefaultHelp
  • wpclsQueryDefaultView
  • wpclsQueryIconData
  • wpclsQuerySettingsPageSize
  • wpclsQueryStyle
  • wpclsQueryTitle

Extra Information

Captured from a message in a public CompuServe Forum Author: Dick Goran, (see EMail Addresses) (see also Changing the LaunchPad; see Sample code to create a LaunchPad for a working example)

The third edition of the REXX Reference Summary Handbook has all of the setup strings for WPLaunchPad. In addition, I have included them here:

Class WPLaunchPad
Key Name Value Description (OS/2 Warp 3.0)
DRAWEROBJECTS n,object [, ...] A comma delimited list, each of which represents a drawer number followed by either object IDs or fully qualified path names. The drawer number (0 = LaunchPad itself, 1 = first drawer, etc.) is separated from the object name with a comma.
FPOBJECTS

<object ID> | filename [, ...]

A comma delimited list of objects to be added to the end of the LaunchPad. The value(s) for this key name is/are an object IDs or fully qualified path names.

Note: This is equivalent to specifying DRAWEROBJECTS with a drawer number of 0.

LPACTIONSTYLE TEXT Display action buttons as text.
MINI Display action buttons as mini icons.
NORMAL Display action buttons as normal sized icons.
OFF Do not display action buttons.
LPCLOSEDRAWER

NO | YES

Specifies whether a drawer should be closed after a LaunchPad object is opened.
LPDRAWERTEXT

NO | YES

Specifies whether object titles should be displayed on the LaunchPad drawers (not buttons).
LPFLOAT

NO | YES

Specifies whether the LaunchPad should float to the top of other windows.
LPHIDECTLS

YES | NO

Specifies whether the LaunchPad frame controls (i.e. title bar and icon) should be hidden.
LPSMALLICONS

NO | YES

Specifies whether small icons or default size icons should be displayed on the LaunchPad.
LPTEXT

NO | YES

Specifies whether object titles should be displayed on the LaunchPad buttons (not drawers).
LPVERTICAL

NO | YES

Specifies whether the LaunchPad should be displayed horizontally or vertically.