Esper :: Lite-C or windows.h?
//LITE-C
var fhandle = file_open_read("test");
if(fhandle) { file_close(fhandle); printf("file exists"); }
else { printf("file DOESNT exist"); }
//when you have included "windows.h"
if(GetFileAttributes("test.txt")+1) { printf("file exists"); }
else { printf("file DOESNT exist"); }
//also used like this when filename is in a 3DGS string
if(GetFileAttributes(filename_string.chars)+1) { printf("file exists"); }
else { printf("file DOESNT exist"); }
PM me if you need more than this...
Croman :: Sorry for that minor highjack of your thread.
As to your question about building your own dialog box, I cant help there sorry.
I dont do much in the way of "visible" API work because its very anti-fullscreen.
Plus what you want is a-lot of work. Visual API stuff is hideously complex/messy.
I strongly advise you coding something in lite-c code instead.