-$sfile
$sfstate does not return "error" when accessing a reserved folder with $sfile
//echo -a $sfile(C:\windows\) -- $sfstate
Select the Fonts folder, $sfile() returns $null as expected but $sfstate is not set to "error".
$sfstate is correctly set to "cancel" if we cancel the dialog, though.
-$msfile
You never really replied to me in here
https://forums.mirc.com/ubbthreads.php/topics/262220 but it looks like you implemented my suggestion. But:
//echo -a $msfile(c:\windows\) -- $sfstate -- $msfile(0) -- $msfile(1)
Select a file and then select the Fonts folder, this displays:
1 - error -- 1 -- C:\Windows\bootstat.dat
is $sfstate returning "error" correct behavior (indicating that something else than filenames were selected perhaps)?