Win32gui... file dialogs?

Alex Martelli alex at magenta.com
Sun Aug 27 04:53:45 EDT 2000


"Kevin Cazabon" <kcazabon at home.com> wrote in message
news:l1Zp5.210819$8u4.2129533 at news1.rdc1.bc.home.com...
> This is great guys, I appreciate the efforts you've put into my dilemma!
>
> Now I understand the basics of what you've done (using Python to create
> pointers to strings to pass to the Windows file dialog through Mark's
Win32
> stuff), but how to properly set it up completely is a little beyond my C
> skills... q:]
>
> -how would you set initial directory and file?
> -how would you set filters (multiple types, or a single selected type with
> multiple extensions)

Quite similarly, in fact.  I tackled the problem of how to get the return
result first, as I perceived it as hardest/larger risk.  It will be easy for
arguments that just go TO the GetOpenFileName function.


> It'd be nice if we could come up with a dummy-proof Python script that
> allowed you to interface with the dialog through standard Python args...
> I'm sure there's more than one person out there that would appreciate it
as
> much as I...
>
> Can I convince you to help me one step further?  q:]

Sure!  Hope I get an hour to do that this afternoon...


Alex






More information about the Python-list mailing list