home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
World of Shareware - Software Farm 2
/
wosw_2.zip
/
wosw_2
/
CPROG
/
CENVIW1.ZIP
/
OPENCMM.CMM
< prev
next >
Wrap
Text File
|
1993-08-05
|
496b
|
16 lines
// OpenCmm.cmm - Example Cmm source file that uses the simple
// PickFile.lib interface into the GetOpenFilename()
// function in Windows' Common dialog DLL
// (COMMDLG.DLL).
//
// This program lets user selecte a source file (default to .cmm)
// and then start notepad with that file.
#include <PickFile.lib>
FileName = GetOpenFileName("*.cmm","Select a file to edit.");
if ( FileName ) {
spawn(P_NOWAIT,"NotePad.exe",FileName);
}