Tony Cappellini wrote: > Hello > > I'm using Python 2.5, and PythonWin build 210. > > > GetOpenFileName() > This function takes one argument, but there is no info in the help for this. > What is the argument and the type of the argument?
This function expects a buffer containing an OPENFILENAME structure, created using the struct module or some other means. > win32gui.GetOpenFileNameW() takes several args, but there is lots of help > GetOpenFileNameW(hwndOwner, hInstance , Filter , CustomFilter , > FilterIndex , File , MaxFile , InitialDir , Title , Flags , DefExt , > TemplateName ) > > > However, what I'd like to have is this same dialog, that allows me to > select multiple files. > > I can do this with PyQt calling getOpenFileNames(), and I'd like to be > able to do it natively. > > > Is there a way I can select multiple files with either of the above > mentioned calls? > (pressing Control doesn't work) Pass win32con.OFN_ALLOWMULTISELECT|win32con.OFN_EXPLORER in the Flags to enable this. hth Roger _______________________________________________ Python-win32 mailing list Python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32