Re: getOpenFileName()
- Posted by don cole <doncole at p?cbe?l.net> Jan 23, 2008
- 539 views
Pete Lomax wrote: [snip] > Try this: > }}} <eucode> > filename = getOpenFileName( > MainWin, > "H:\\.", > {"Dialog Flags", {OFN_ALLOWMULTISELECT}, > "Rar Files", "*.RAR" , > "All Files", "*.*" } ) > </eucode> {{{ > That extra little dot works a charm here (win98), dunno why tho. > > Regards, > Pete Thanks Pete, I found by fooling around that
filename = getOpenFileName( MainWin, -- parent window "H:\\*.RAR", -- Location and first file in list {--"Dialog Flags", {OFN_ALLOWMULTISELECT}, "Rar Files", "*.RAR" , -- Rar files "All Files", "*.*" } ) -- everything else
works just like I want with winXP and I have no idea why. Don Cole