home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Professional
/
OS2PRO194.ISO
/
os2
/
wps
/
system
/
wpsnewf
/
wpnewf.csc
< prev
next >
Wrap
Text File
|
1993-10-14
|
1KB
|
55 lines
/*
New Program object: It closes the parent folder upon launching it
Written by : Ghassan Salem
*/
include <wpfolder.sc>
class: WPNewF,
external stem = WPNewF,
local,
external prefix = WPNewFX_,
classprefix = WPNewFC_,
major version = 1,
minor version = 1,
file stem = WPNewF;
parent: WPFolder;
#release order:
passthru: C.ph;
/* private defs for FileState */
endpassthru;
passthru: C.ih;
#define INCL_WINWINDOWMGR
#define INCL_WININPUT
#define INCL_DOSPROCESS
#define INCL_WINMESSAGEMGR
#define INCL_WINPROGRAMLIST
#include <os2.h>
/* internal definitions */
#define ID_CLOSEANDR (WPMENUID_USER+1) /* menus added to popup menu */
#define IDM_CLOSEANDR (WPMENUID_USER+2)
#define MYSTR_CLASSNAME "WPNewF"
endpassthru;
passthru: C.h, after;
/* public defs for FileState */
endpassthru;
/* pszMyheader holds (usually) the Message Box Title */
data:
PSZ pszMyHeader;
methods:
#/*====================================================================*/
#/* */
#/* Override wpOpen method */
#/* */
#/*====================================================================*/
override wpOpen;