home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
wpentk.zip
/
WBPENTK1.DSK
/
WPDISPLY.SC
< prev
next >
Wrap
Text File
|
1994-10-07
|
3KB
|
137 lines
# This file was generated by the SOM Compiler.
# FileName: wpdisply.sc.
# Generated using:
# SOM Precompiler somopc: 2.7
# SOM Emitter emitsc: 2.22
/*
* SCC: @(#) 37 4/28/94 10:50:01 1.8 @(#)
* 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
--