win32api.ShellExecute howto?
Bill Tutt
billtut at microsoft.com
Fri Jul 16 03:22:01 EDT 1999
You can use 0 as a HWND if you don't have one.
Bill
> From: Jeffrey Kunce [mailto:kuncej at mail.conservation.state.mo.us]
>
> I'd like to use win32api.ShellExecute to open a
> data file with its associated application. The help
> file says:
>
> int = ShellExecute( hwnd, op , file , params , dir , bShow )
>
> I think I understand all the parameters except:
>
> hwnd : int
> The handle of the parent window.
>
> If I am not running this from a pythonwin application, what
> do I use for hwnd and where do I get it?
>
> Thanks.
>
> --Jeff Kunce
>
>
>
>
More information about the Python-list
mailing list