Latch:
Yes i tested that and i have experienced this problem before trying to make a breakout game in windowed mode sized down to the size of the game and i had to find the coordinates of the edges of the screen :/ hey i just thought of something(off topic) wouldn't using set display mode and setting it to the new size of the screen make that work(very off topic haha)
Robert:
I just tried it without a disk and i get the same error. i always had a cd in before this lol.
That is a good idea for why hmm. well wait that couldn't be it because the program doesn't freeze(and you can click on everything exept the files) until you click on the files so the mouse coordinates are correct the error would not be in the coordinates it would be something with clicking the files(or if you try and type a file in and hit enter it freezes also) it must be something with the files click stuff.
This is the file select code from the function.
If Files$(Selected,2)="File" and FileClick=1: Rem Clicked On Filename
Filename$(0)=Files$(Selected,1)
Repeat
Until MOUSECLICK()=0
T=Timer()
DClick=0
Repeat: Rem Double Click routine
TClock=Timer()-T
DClick=MOUSECLICK()
Until DClick=1 or TClock>=200
If DClick=1
OK=1: Rem OK to leave fileselector
Path$(0)=GET DIR$()
If Right$(Path$(0),1)<>"\" Then Path$(0)=Path$(0)+"\"
Else
Rem Single Clicked
Ink rgb(220,220,220),0: Box TLX+49,TLY+243,TLX+240,TLY+260: Rem Clear Filename Box
Ink 0,0: Text TLX+53,TLY+244,Filename$(0): Rem Display Selected file's name
Sync
FO=FileOffset(0)
Scroll=1: OldNumFiles=NumFiles
NumFiles=UpdatePanel(TLX,TLY,Filter$,ProjDir$,FO,Selected,OldNumFiles,Scroll,ShowExt)
Endif
Endif
Repeat
Until MouseClick()=0
Sync
Endif
I have tried adding a print (as i stated above) to the click part but it doesn't print. like this:
Repeat:
set cursor 300,300
print "Hi"
TClock=Timer()-T
DClick=MOUSECLICK()
Until DClick=1 or TClock>=200
or
If DClick=1
Set cursor 300,300
Print "Hi"
OK=1:
Path$(0)=GET DIR$()
If Right$(Path$(0),1)<>"\" Then Path$(0)=Path$(0)+"\"
Else
Or in the single click code doing the same thing it works in normal window but when you in windowed mode none of them print so it's not even getting to the fileclick part i don't know why. i also tried at the very beginning. at the first if statement and it doesnt print in windowed mode

.