Are you sure you are working with a layered window? I'm pretty certain that
for these functions to work you need to have a window with the WS_EX_LAYERED
style bit set.
On Jan 20, 2008 2:42 AM, astralrod <[EMAIL PROTECTED]> wrote:
>
> Hello!
>
> I am doing a script to make a window transparent, bu
2008 3:50 AM, Thomas Heller <[EMAIL PROTECTED]> wrote:
> Henry Baxter schrieb:
> > Hello,
> >
> > I keep getting this error, and I cannot figure out why. I have code that
> > registers a window class that works, and code that does not. Both bits
>
stopped importing that module, the problem went away.
I am actually fairly annoyed that I could not easily determine what the
precise problem was, but thankfully for me it has gone away.
Henry
On Jan 16, 2008 6:37 PM, Tim Roberts <[EMAIL PROTECTED]> wrote:
> Henry Baxter wrote:
> &g
I also tried using 'pointer' instead of byref, just to see if I could learn
anything. The error is now:
ctypes.ArgumentError: argument 1: : expected
LP_WND
CLASS instance instead of LP_WNDCLASS
Now I'm just more confused...
On Jan 16, 2008 5:47 PM, Henry Baxter <[EMAIL
Hello,
I keep getting this error, and I cannot figure out why. I have code that
registers a window class that works, and code that does not. Both bits of
code create a WNDCLASS, both use byref(thewndclassinstance), both make sure
there is always a reference to the window class structure instance t
s very much appreciated :)
On Jan 14, 2008 4:26 PM, Tim Roberts <[EMAIL PROTECTED]> wrote:
> Henry Baxter wrote:
> >
> > I'm having some trouble working with window 'regions'. I need to
> > initialize some memory for the region and work with it.
> &
Hello,
I'm having some trouble working with window 'regions'. I need to initialize
some memory for the region and work with it.
I have copied my best approach so far, but I know I don't know what I'm
doing when it comes to the 'Buffer' field in RGNDATA. MSDN describes what
HRGN points to (a RGNDA
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 const
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:
&g
ns welcome!
Henry
On Jan 12, 2008 1:42 AM, Henry Baxter <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I have been doing some win32 programming using ctypes. I have successfully
> created windows, common controls, manipulated and shown images, and so
> forth. However, I am having trou
Hello,
I have been doing some win32 programming using ctypes. I have successfully
created windows, common controls, manipulated and shown images, and so
forth. However, I am having trouble with custom controls.
I can create a new window class, successfully register it, then successfully
create a
11 matches
Mail list logo