home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
wpsgpf.zip
/
SIM.CSC
< prev
next >
Wrap
Text File
|
1995-01-26
|
5KB
|
143 lines
#/*****************************************************************************
#/
#/ TITLE: Simple WPS Class
#/
#/ FILE: sim.csc
#/
#/ CLASS: WPSimple
#/
#/ MAJOR CHANGES: 00.00
#/
#/ DESCRIPTION: see sim.c
#/
#/ (C) Copyright SES GmbH Berlin 1994. All rights reserved.
#/
#/*****************************************************************************
#******************************************************************************
# Include Section
#******************************************************************************
include <wpabs.sc>
#******************************************************************************
# Class Section
#******************************************************************************
class:
WPSimple,
local,
major version = 1,
minor version = 1,
classprefix = wpcls;
#******************************************************************************
# Meta/Parent Section
#******************************************************************************
parent:
WPAbstract;
#******************************************************************************
# Release Section
#******************************************************************************
release order: RefreshViews, hmod, AddIconFilePage, SetIcon ;
#******************************************************************************
# Passthru Section
#******************************************************************************
#------------------------------------------------------------------------------
# passthru: C.c;
#------------------------------------------------------------------------------
passthru: C.c;
//-----------------------------------------------------------------------------
// This text goes here!
//-----------------------------------------------------------------------------
endpassthru;
#******************************************************************************
# Data Section
#******************************************************************************
data:
//-Simple-------------------------------------------------------------------
INT iDummy;
//-Init & Setup, Save & Restore---------------------------------------------
HPOINTER hptrDefault1;
HPOINTER hptrDefault2;
HPOINTER hptrDefault3;
LONG lIconState;
//-Settings Pages-----------------------------------------------------------
HWND hwndIconFileView;
HPOINTER hptrIconFile;
CHAR szIconFile [256];
CHAR szIconFileForUndo [256];
LONG lIconStateForUndo;
BOOL fFirstNotification;
//-Pop-Up-------------------------------------------------------------------
LONG lPlayState;
LONG lPictureToDisplay;
HWND hwndTimer;
BOOL fTimerStarted;
//-Views--------------------------------------------------------------------
HWND hwndInfoView;
HWND hwndListbox;
//-Drag & Drop--------------------------------------------------------------
//-Class Variables (belongs to the metaclass)-------------------------------
HMODULE hmod, public, class;
#******************************************************************************
# Methods Section
#******************************************************************************
methods:
#==============================================================================
# Group: Init & Setup
#==============================================================================
override wpInitData;
override wpUnInitData;
override wpSetup;
VOID RefreshViews ();
#==============================================================================
# Group: Save & Restore
#==============================================================================
override wpSaveState;
override wpRestoreState;
#==============================================================================
# Group: Setting Pages
#==============================================================================
override wpAddSettingsPages;
override wpAddObjectGeneralPage;
BOOL AddIconFilePage (HWND hwndNotebook);
BOOL SetIcon (PSZ pszIconFile);
#==============================================================================
# Group: Pop-Up
#==============================================================================
override wpFilterPopupMenu;
override wpModifyPopupMenu;
override wpMenuItemSelected;
#==============================================================================
# Group: Views
#==============================================================================
override wpOpen;
#==============================================================================
# Group: Drag & Drop
#==============================================================================
override wpDragOver;
override wpDrop;
#==============================================================================
# Group: Class Methods (belong to the metaclass)
#==============================================================================
override wpclsQueryStyle, class;
override wpclsInitData, class;