home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
pentlk11.zip
/
IMAGES
/
PENTLKT2.IMG
/
unc.dsk
/
OEM.CSC
< prev
next >
Wrap
Text File
|
1994-01-13
|
3KB
|
73 lines
/******************************************************************************
* *
* File Name : OEM.CSC *
* *
* Description : Sample sublcass *
* *
* Function: This is a sample of a subclass of PenLocatorPen *
* *
* Copyright (C) 1993 IBM Corporation *
* *
* DISCLAIMER OF WARRANTIES. The following [enclosed] code is *
* sample code created by IBM Corporation. This sample code is not *
* part of any standard or IBM product and is provided to you solely *
* for the purpose of assisting you in the development of your *
* applications. The code is provided "AS IS", without *
* warranty of any kind. IBM shall not be liable for any damages *
* arising out of your use of the sample code, even if they have been *
* advised of the possibility of such damages. *
* *
*******************************************************************************/
#include <wplocpen.sc>
class: oem,
local,
classprefix = oemM_,
major version = 1,
minor version = 2;
parent: PenLocatorPen;
release order: AddUserTypePage;
passthru: C.h;
#define INCL_DOS
#define INCL_DOSERRORS
#define INCL_PM
#define INCL_WINWORKPLACE
#include <os2.h>
#include <io.h>
#include <stdio.h>
#include <string.h>
#define ID_OBJECTICON 200
#define OEM_DIALOG 201
MRESULT EXPENTRY OemDialogProc(HWND hwndDlg, ULONG msg, MPARAM mp1, MPARAM mp2);
VOID EXPENTRY OemSetup( HWND, PSZ, PSZ, PSZ, HWND, PSZ );
endpassthru;
methods:
--
-- new instance methods
ULONG AddUserTypePage ( HWND hwndOem );
--
-- overriden instance methods
override wpAddSettingsPages;
--
-- new class methods
--
-- none
--
-- overriden class methods
override wpclsQueryTitle, class;
override wpclsQueryIconData, class;