Esper :: Lite-C or windows.h?
Code:
//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.


"There is no fate but what WE make." - CEO Cyberdyne Systems Corp.
A8.30.5 Commercial