wheres the HINSTANCE

Robin Becker robin at jessikat.demon.co.uk
Tue May 4 06:59:29 EDT 1999


In article <372b3dfd.517942 at nntp.best.com>, gcw at best.com writes
>I am trying to extend PythonWin and need the applications HINSTANCE
>(for example, the first argument passed to WinMain).  Anyone know how
>I can get it?  In case it matters, I am writing the extension module
>in C++.
>
>gw.
>
you can use the EnumThreadWindows api call to get a list of the windows
associated with a particular thread. It seems difficult to find the main
window.
-- 
Robin Becker




More information about the Python-list mailing list