Jump to content
Marian

Feresre rotunde

Recommended Posts

Posted

Nu se poate fara cod.

Option Explicit

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()

SetWindowRgn Me.hWnd, CreateEllipticRgn(0, 0, 300, 300), True

End Sub

Posted (edited)

Delphi 2007 cred, VB6 e din 98. Se pot face multe in Delphi, are controale predefinite. Pentru VB6 folosesti codul de mai sus. Functiile le gasesti pe MSDN.

Edit: Tu ai vazut tutorialul? Nu vezi cand scie cod? E de fapt cam acelasi cod, aceleasi functii cu aceeasi parametrii.

Edited by Nytro
Posted

Edit: Tu ai vazut tutorialul? Nu vezi cand scie cod? E de fapt cam acelasi cod, aceleasi functii cu aceeasi parametrii.

codul acela e pentru a putea muta form`ul cu ajutorul imaginii.

colturile rotunde s-au obtinut prin efecte de transparenta

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...