Marian Posted January 16, 2009 Report Posted January 16, 2009 Care imi zice si mie cum pot sa fac ferestre rotunde la un program in vb (fara cod)?? adik.... ceva de genu Quote
Nytro Posted January 16, 2009 Report Posted January 16, 2009 Nu se poate fara cod.Option ExplicitPrivate Declare Function CreateEllipticRgn Lib "gdi32" _(ByVal X1 As Long, ByVal Y1 As Long, ByVal X2 As Long, _ByVal Y2 As Long) As LongPrivate Declare Function SetWindowRgn Lib "user32" _(ByVal hWnd As Long, ByVal hRgn As Long, _ByVal bRedraw As Boolean) As LongPrivate Sub Form_Load()SetWindowRgn Me.hWnd, CreateEllipticRgn(0, 0, 300, 300), TrueEnd Sub Quote
Marian Posted January 16, 2009 Author Report Posted January 16, 2009 a facut Xardas un tutorial video http://rapidshare.com/files/179687932/Fereastra_Rotunda_in_Delphi_By_Xardas.zip da e in borland si eo vreau in VB Quote
Nytro Posted January 16, 2009 Report Posted January 16, 2009 (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 January 16, 2009 by Nytro Quote
c0smyn Posted January 16, 2009 Report Posted January 16, 2009 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 Quote
Marian Posted January 16, 2009 Author Report Posted January 16, 2009 si in vb nu se poate face asa ?? Quote
Nytro Posted January 16, 2009 Report Posted January 16, 2009 codul acela e pentru a putea muta form`ul cu ajutorul imaginii.colturile rotunde s-au obtinut prin efecte de transparentaSi codul de aici ce face?http://i43.tinypic.com/zvt15t.jpgMarian92: Nu vezi postul de mai sus? Quote
c0smyn Posted January 16, 2009 Report Posted January 16, 2009 Nytro:greseala mea. creadeam ca e vb de celalalt cod cu ReleaseCapture.. Quote
Nytro Posted January 16, 2009 Report Posted January 16, 2009 Cand am postat nici macar nu vazusem acel cod, nu ma uitasem la tot tutorialul. Oricum, cred ca VB seamana mai mult cu Delphi decat credeam. Quote