home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
dtswps.zip
/
DTSFILES.ZIP
/
EXAMPLE
/
EX1.IDL
< prev
next >
Wrap
Text File
|
1996-06-27
|
925b
|
44 lines
#ifndef ex1_idl_included
#define ex1_idl_included
#include <somcls.idl>
#include <wpfolder.idl>
/* interface M_EX1; */
interface EX1: WPFolder {
implementation {
dtsdefaults;
majorversion=1;
minorversion=1;
wpModifyPopupMenu: override;
// Add option to the popup menu
wpMenuItemSelected: override;
// Process input from the added menu option.
passthru C_hh =
""
" #define INCL_WIN"
" #define INCL_DOS"
" #define INCL_GPIBITMAPS"
" #define INCL_DOSERRORS"
" #include <os2.h>"
""
" #define INCL_WPFOLDER"
" #include <pmwp.h>"
""
" /*"
" * The following user-defined Popup menu items (ID_xxx) should be higher"
" * than WPMENUID_USER."
" */"
" #define ID_EX1MENU (WPMENUID_USER+1) /* menu added to popup menu */"
" #define ID_DOEX1THING (WPMENUID_USER+2) /* menu selection */"
""
"";
};
};
#endif