Re: [python-win32] Custom control, WS_CHILD

2008-01-14 Thread Henry Baxter
Very cool :) Thank you Thomas On Jan 13, 2008 11:14 PM, Thomas Heller <[EMAIL PROTECTED]> wrote: > Henry Baxter schrieb: > > Thanks for the tip, venster not only has a neat way to resolve this > issue, > > but plenty of other really useful things (lists of windows constants and > > other stuff th

Re: [python-win32] Custom control, WS_CHILD

2008-01-13 Thread Thomas Heller
Henry Baxter schrieb: > Thanks for the tip, venster not only has a neat way to resolve this issue, > but plenty of other really useful things (lists of windows constants and > other stuff that take time to assemble). > Then you might also be interested in the ctypeslib package; it is able to make

Re: [python-win32] Custom control, WS_CHILD

2008-01-13 Thread Henry Baxter
Thanks for the tip, venster not only has a neat way to resolve this issue, but plenty of other really useful things (lists of windows constants and other stuff that take time to assemble). On Jan 13, 2008 4:03 AM, Thomas Heller <[EMAIL PROTECTED]> wrote: > Henry Baxter schrieb: > > Problem solved

Re: [python-win32] Custom control, WS_CHILD

2008-01-13 Thread Thomas Heller
Henry Baxter schrieb: > Problem solved! > > I was using ctypes.byref to pass a reference to the window class, but before > calling CreateWindow the window class in question went out of scope and was > destroyed. > > I'm worried this type of problem will happen more often, but I'm not sure > how t

Re: [python-win32] Custom control, WS_CHILD

2008-01-12 Thread Henry Baxter
Problem solved! I was using ctypes.byref to pass a reference to the window class, but before calling CreateWindow the window class in question went out of scope and was destroyed. I'm worried this type of problem will happen more often, but I'm not sure how to stop it...suggestions welcome! Hen