
Signature
Mick Doherty
http://dotnetrix.co.uk/nothing.html
Mick,
Thanks for the link. I don't know if a region would suffice to produce a
skinned form--haven't done this sort of programming before. The customer
wants a jaunty, slanted form frame.... a trapezoid turned on its side also
with 3-d effects (rounded "claymation" edges and rounded corners). Wouldn't
the use of many small rectangles to create the slanted edge of the form
border give a very ragged edge rather than a clean sharp line?
Regards
Timo
> Can you create a region instead?
>
[quoted text clipped - 23 lines]
> > XP Pro, SP1.
> > .NET 1.1.4322 SP1
Mick Doherty - 04 Aug 2005 20:00 GMT
You're right that you would end up with jagged edges using this method.
Sounds like you need per pixel alpha. The problem here (or maybe it's not if
you're custom drawing controls anyway), is that this method requires you to
paint everything. This method is usually used for splash screens, but you
should be able to adapt it. This is going to be a lot of work though.
There's an example on codeproject at:
http://www.codeproject.com/cs/media/perpxalpha_sharp.asp?df=100&forumid=3270&exp
=0&select=627744&tid=286266

Signature
Mick Doherty
http://dotnetrix.co.uk/nothing.html
> Mick,
> Thanks for the link. I don't know if a region would suffice to produce a
[quoted text clipped - 38 lines]
>> > XP Pro, SP1.
>> > .NET 1.1.4322 SP1