Re: getOpenFileName

new topic     » goto parent     » topic index » view thread      » older message » newer message
dcole said...
DanM said...
ArthurCrump said...

The win32lib documentation for getOpenFileNameEx should have a fourth parameter extra.
Use this paramater to specify the initial filter index.

  filename = getOpenFileNameEx(  
              Window1,               -- parent window  
              "e:\\euphoria\\stocks\\",                       -- no default name  
              {  "Text Files", "*.TXT",    -- text files  
                 "Data Files","*.DAT",  
                 "All Files", "*.*" },    -- everything else  
              { {ofnFilterIndex,2} }  ) 

And I *think* the Win32Lib demo, "Generic" has an example of how to use that parameter.

Dan

It dosen't. I found Generic but not getOpenFileNameEx.

Don Cole

Sorry about that, I should have checked, I thought I remembered it to be there, but I see now that it was the "openMultiple" that I was remembering.

Dan

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

Search



Quick Links

User menu

Not signed in.

Misc Menu