Re: [python-win32] Windows 7 taskbar api

2009-09-28 Thread Thomas Heller
Gerdus van Zyl schrieb: Thanks to this post http://www.neowin.net/forum/index.php?s=6352ade29ce66f2b51506c64e455d2f4showtopic=716968st=0p=590434472#entry590434472 I got the idl that I could convert to a typelib and then use cc.GetModule(taskbar.tlb); The only trouble is you have to

Re: [python-win32] Windows 7 taskbar api

2009-09-28 Thread Tim Roberts
Gerdus van Zyl wrote: Thanks to this post http://www.neowin.net/forum/index.php?s=6352ade29ce66f2b51506c64e455d2f4showtopic=716968st=0p=590434472#entry590434472 I got the idl that I could convert to a typelib and then use cc.GetModule(taskbar.tlb); The only trouble is you have to specify

Re: [python-win32] Windows 7 taskbar api

2009-09-28 Thread Gerdus van Zyl
You would probably rename the comtypes.gen._683BF642_E9CA_4124_BE43_67065B2FA653_0_1_0 to something more sensible Creating an instance would be easier if you use code like this which uses the _reg_clsid_ attribute from the generated CoClass: from win7taskbar import ITaskbarList3, TaskbarList

Re: [python-win32] Windows 7 taskbar api

2009-09-27 Thread Gerdus van Zyl
Thanks to this post http://www.neowin.net/forum/index.php?s=6352ade29ce66f2b51506c64e455d2f4showtopic=716968st=0p=590434472#entry590434472 I got the idl that I could convert to a typelib and then use cc.GetModule(taskbar.tlb); The only trouble is you have to specify the import

[python-win32] Windows 7 taskbar api

2009-09-24 Thread Gerdus van Zyl
Hi, Has anybody played with the win7 taskbar api? I just love the taskbar progress bar and would like it in my little app. But since win7 isn't even commercially available (i got mine from msdn) samples are scarce. Working from some pascal examples /vb.net interop examples /msdn docs I made the