On 19 Apr 2005 at 14:52, Mark Hammond wrote:
> Hi John,
>
> > (1) xl = win32com.client.Dispatch("Excel.Application")
> > (2) print repr(xl)
> > (3) xlwb = xl.Workbooks.Open(filename)
> >
> > Before, line 2 would print this:
> > > Library._Application instance at
> > 0x39073872>
> > and line 3 wo
> i can't seem to catch a WM_CREATE message in simple code.
> i expect my code to print 'create', but it doesn't
The problem is the way win32gui works. win32gui sub-classes the created
window *after* the call to CreateWindow returns - however, WM_CREATE is sent
*before* CreateWindow returns. It
Hello,
I'm not a newbie to Python but to all the system-level programming for
windows in any language.
Is it possible to write windows namespace extensions using Python
including writing a new view in the explorer for the namespace using
win32ui. If so has anyone done that already and can share
> Is it possible to write windows namespace extensions using Python
> including writing a new view in the explorer for the namespace using
> win32ui. If so has anyone done that already and can share some tips?
It is and it works very nicely :) See the win32comext\shell\demos directory
for some st
Hello,
I'm not a newbie to Python but to all the system-level programming for
windows in any language.
Is it possible to write windows namespace extensions using Python
including writing a new view in the explorer for the namespace using
win32ui. If so has anyone done that already and can share
hi,
i can't seem to catch a WM_CREATE message in simple code.
i expect my code to print 'create', but it doesn't
listing follows.
tia, jack
from win32api import *
from win32gui import *
from win32con import *
wc = WNDCLASS()
hi = wc.hInstance = GetModuleHandle(None)
wc.lpsz