win32api.ShellExecute howto?

Jeffrey Kunce kuncej at mail.conservation.state.mo.us
Thu Jul 15 11:11:27 EDT 1999


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