Rockalicious
02-11-2002, 12:19 PM
Hoy!
Just wondering if it is possible to alter a form from its traditional square shape to just about anything from a circle to a peanut shape? Thanks
yes it is, try searching this forum or PSC
dcl3500
02-11-2002, 12:32 PM
Check out this post (http://www.visualbasicforum.com/showthread.php?s=&threadid=10528) by The Hand. The attachment features a very oddly shaped form :)
manoj
02-21-2002, 03:39 AM
Hi !
----
'create an irregular form like ellipsa.
'CreateEllipticRgn - is used to select particular region
'SetWindowRgn() - is used to display selected regions of form
Dim rgn As Long
rgn = CreateEllipticRgn(x1, y1, x2, y2)
SetWindowRgn Me.hWnd, rgn, True
' U can even combine two elliptical region with this API > CombineRgn() - is used to combine selected regions