RequestDir looks out of date on Windows...

BlitzMax Forums/MaxGUI Module/RequestDir looks out of date on Windows...

col(Posted 2012) [#1]
Indeed it looks like something out of the 90s, so I wrote a little function to make one with a more modern look on Vista and Win7.

You can use this function on earlier OSes as it will fall back to the original RequestDir ( EDIT :- Can anyone confirm for XP? Maybe with SP3 it will use the modern look? )

RequestFolder$(Text$,InitialPath$)

This can be used as a direct replacement for the RequestDir function.

Mark, feel free to include this in any next updates.




jsp(Posted 2012) [#2]
Have tested it on XP SP3, but looks just normal.

Strange thing is, that it comes up with a dialog telling me that there is no disk in drive D: which is correct, but hey it is my DVD and I know there is no disk...


col(Posted 2012) [#3]
That happens on XP?
If so, that is strange as it seems to should have dropped back to using RequestDir.

Edit:- Maybe not so strange as the code above is requesting d: in the filepath. Its a second partition in my laptop. lol. I think I've had waaaay too many late nights lately :D

Last edited 2012


jsp(Posted 2012) [#4]
Yes on XP (VM if that makes a difference).
I'm traveling at the moment, so can't test on Win7, will check that out later.


Hummelpups(Posted 2012) [#5]
Looks nice on 7

Last edited 2012


col(Posted 2015) [#6]
Updated to work on >= win7