I know this has been mentioned before (many times) but can someone point me towards any hints and tips on producing strange shaped forms - eg circular, oval etc etc
------------------
Mark "Buzby" Beeton
VB Developer
[email protected]
Printable View
I know this has been mentioned before (many times) but can someone point me towards any hints and tips on producing strange shaped forms - eg circular, oval etc etc
------------------
Mark "Buzby" Beeton
VB Developer
[email protected]
Mark,
I can't remember where I found this code, but its a start.
------------------Code:Private Declare Function CreateEllipticRgn Lib "gdi32" (ByVal X1 As Long, ByVal Y1 As Long, ByVal X2 As Long, ByVal Y2 As Long) As Long
Private Declare Function SetWindowRgn Lib "user32" (ByVal hWnd As Long, ByVal hRgn As Long, ByVal bRedraw As Boolean) As Long
Private Sub Form_Load()
Show 'Show the form
SetWindowRgn hWnd, CreateEllipticRgn(0, 0, 300, 200), True
End Sub
Ishamel
[email protected]
How can I tell you I love you when you are sitting on my face?