[python-win32] CreateRgn

Andrew Wilkinson ajw126@student.cs.york.ac.uk
Sun, 9 Jun 2002 09:36:32 +0100


Thanks for fixing that, I've checked out the cvs code, compiled it and it
works fine.
Unfortunately however there were a couple of missing api calls that I
needed. CRgn::CreateEllipticRgn and CWnd::SetWindowRgn to be precise, I have
implemented these in my copy of the source code and they work fine. I now
have a non-rectangular window created by Python. This isn't a very good
solution however as I don't want to rely on features that I've added to the
extension.

I was wondering if it would be possible to get these functions, and probably
CWnd::GetWindowRgn for completeness, added to the cvs. I don't know if you
accept contributions to the code, if you do please tell me how you want the
sourcecode submitted and I'll send you what I've done, its only about 40
lines.

Regards,
Andrew Wilkinson

----- Original Message -----
From: "Mark Hammond" <mhammond@skippinet.com.au>
To: "Andrew Wilkinson" <ajw126@york.ac.uk>; <python-win32@python.org>
Sent: Saturday, June 08, 2002 4:24 PM
Subject: RE: [python-win32] CreateRgn


> > According the documentation I should be able to do this..
>
> Oops - I am afraid this was not exposed due to a simple error on my part.
I
> have fixed it and checked it in.
>
> Mark.
>
>
>
> _______________________________________________
> Python-win32 mailing list
> Python-win32@python.org
> http://mail.python.org/mailman/listinfo/python-win32
>