Re: getOpenFileName()

new topic     » goto parent     » topic index » view thread      » older message » newer message

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

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu