Date: Sun, 4 Mar 2007 16:18:55 -0500 From: "Roger Upole" <[EMAIL PROTECTED]> Subject: [python-win32] Re: win32gui.GetOpenFileName() To: <python-win32@python.org> Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original This function expects a buffer containing an OPENFILENAME structure, created using the struct module or some other means.
> 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. Thanks Roger, where did you find this information? "From the Pythin Win help file" win32gui (more).GetOpenFileName int = GetOpenFileName() Creates an Open dialog box that lets the user specify the drive, directory, and the name of a file or set of files to open. Return Value If the user presses OK, the function returns TRUE. Otherwise, use CommDlgExtendedError for error details. _______________________________________________ Python-win32 mailing list Python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32