VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Create a round form

by Julito Amodia (8 Submissions)
Category: Custom Controls/Forms/Menus
Compatability: VB.NET
Difficulty: Unknown Difficulty
Originally Published: Sat 13th May 2006
Date Added: Mon 8th February 2021
Rating: (1 Votes)

Create a round form

API Declarations



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



Rate Create a round form



'Show The form!
SetWindowRgn hWnd, CreateEllipticRgn(0, 0, 300, 200), True
End Sub


Download this snippet    Add to My Saved Code

Create a round form Comments

No comments have been posted about Create a round form. Why not be the first to post a comment about Create a round form.

Post your comment

Subject:
Message:
0/1000 characters