## Pen for OS/2 Device Driver Reference

[prev][next][parent][TOC]

### PenLocatorFinger

Class definition file: wplocfgr.idl

Class hierarchy:

       SOMObject
          WPObject
             PenObject
                WPAbstract
                   PenButtonDevice
                      PenLocator
                         PenLocatorFinger

The following is the PenLocatorFinger method:

penAddFingerOffsetPage

The following are the methods overridden by the PenLocatorFinger class:

wpInitData
wpRestoreState
wpSaveState
wpAddSettingPages

The following are the class methods overridden by the PenLocatorFinger class:

penclsQueryDefaultPause
penclsQueryPauseEnableDefault
wpclsQueryIconData
wpclsQueryTitle
wpclsQueryDefaultHelp

PenLocatorFinger is a subclass of the PenLocator class. This class adds an additional page, Offset, to the Settings notebook. The Offset page enables you to set finger offset to the screen pointer. This is accomplished through the penAddLocatorFingerOffsetPage method. If you are developing a device driver for a touch-sensitive display, you must either create an instance of this class in the Devices folder with the appropriate setup string, or subclass this class and add it to the Devices folder. Pages can be added and replaced to fully support the required interface to the device settings.

Note: The Offset page supports only display devices with the origin in the upper-left corner of the device.