home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Monster Media 1994 #1
/
monster.zip
/
monster
/
PROG_C
/
CENVIW9.ZIP
/
OPENCMM.CMM
< prev
next >
Wrap
Text File
|
1994-03-08
|
496b
|
16 lines
// OpenCmm.cmm - Example Cmm source file that uses the simple
// ver.1 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);
}