home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
pentlk11.zip
/
IMAGES
/
PENTLKT1.IMG
/
unc.dsk
/
WPDISPLY.SC
< prev
next >
Wrap
Text File
|
1994-01-13
|
3KB
|
136 lines
# This file was generated by the SOM Compiler.
# FileName: wpdisply.sc.
# Generated using:
# SOM Precompiler spc: 1.22
# SOM Emitter emitcsc: 1.10
/*
* SCC: @(#) 37 2/26/93 15:56:43 1.7 @(#)
* Module Header
*
* Module Name: WPDISPLY
*
* OS/2 Presentation Manager Workplace class definitions
*
* Copyright (c) International Business Machines Corporation 1992
*
*/
#include "penbtndv.sc"
class: PenDisplay,
external stem = Pendsp, local, external prefix = dsp_,
classprefix = dspM_, major version = 1, minor version = 1,
file stem = wpdisply;
--
-- CLASS: PenDisplay
--
-- CLASS HIERARCHY:
-- SOMObject
-- └── WPObject
-- └── WPAbstract
-- └── PenDisplay
--
-- DESCRIPTION:
-- This is the LCD display for pen object class.
--
-- An instance of this class can be created as a Workplace object.
--
parent class: PenButtonDevice;
release order:
penAddDisplayBacklightPage;
passthru: C.h;
endpassthru;
methods:
ULONG penAddDisplayBacklightPage(HWND hwndNotebook);
--
-- METHOD: penAddDisplayBacklightPage ( ) PRIVATE
-- (X) PUBLIC
-- PURPOSE:
-- Add the backlight configuration page to the display settings
--
override wpOpen;
--
-- METHOD: wpOpen ( ) PRIVATE
-- (X) PUBLIC
-- PURPOSE:
-- Do not open the object if there is no device support
--
override wpAddSettingsPages;
--
-- METHOD: wpAddSettingsPages ( ) PRIVATE
-- (X) PUBLIC
-- PURPOSE:
-- Add our own settings page to let the user change the backlight
-- timeout.
--
override wpAddObjectWindowPage;
--
-- REMARKS:
-- This object doesn't get a window page because it doesn't
-- have any open views other than settings
--
override wpFilterPopupMenu;
--
-- REMARKS:
-- Filter out any options from the context that don't apply.
--
--
override wpclsQueryTitle, class;
--
-- REMARKS:
-- Returns the LCD Display Title.
--
override wpclsQueryDefaultHelp, class;
--
-- REMARKS:
-- Process input from the extra menu option that we added.
--
override wpclsQueryDefaultView, class;
--
-- REMARKS:
-- Returns the default view for a new instance of this object.
--
override wpclsQueryStyle, class;
--
-- REMARKS:
-- give styles to prevent deletion, copying and templates
--
--
override wpclsQueryIconData, class;
--
-- REMARKS:
-- Return the class icon
--