Anasayfa Forumlar Yeni Mesajlar Bugünün Mesajları Üye Ol
Geri git   Turkish Hacking Sabotage | Türkiyenin En Büyük Hack Ve Security Sitesi > PROGRAMLAMA > Visual Basic
Sayfaya güncelle Formlarımıza mozaikler döşeyebiliriz artık bu çok kolay msimg32.dll i kullanarak bunu

Konu Bilgileri
Konu Başlığı
Formlarımıza mozaikler döşeyebiliriz artık bu çok kolay msimg32.dll i kullanarak bunu
Konudaki Cevap Sayısı
6
Şuan Bu Konuyu Görüntüleyenler
 
Görüntülenme Sayısı
0

Cevapla
 
Seçenekler Arama Stil
Formlarımıza mozaikler döşeyebiliriz artık bu çok kolay msimg32.dll i kullanarak bunu
Alt
  (#1)
b_j_k_38 is Offline
[10]Yeni Üye
b_j_k_38 has a spectacular aura aboutb_j_k_38 has a spectacular aura aboutb_j_k_38 has a spectacular aura about
 
b_j_k_38 - ait Kullanıcı Resmi (Avatar)
 
>Mesaj Sayısı: 620
>Açtığı Konu: 380

Level: 22 [♥ Bé-Yêu ♥♥ Bé-Yêu ♥♥ Bé-Yêu ♥♥ Bé-Yêu ♥♥ Bé-Yêu ♥]
Paylaşım: 163 / 544
Güç: 206 / 951
Tecrübe: 77%

Üyelik tarihi: Nov 2007
Nerden: C:\WINDOWS\system32
Rep Puani: 240
Rep Derecesi : b_j_k_38 has a spectacular aura aboutb_j_k_38 has a spectacular aura aboutb_j_k_38 has a spectacular aura about
   
Standart Formlarımıza mozaikler döşeyebiliriz artık bu çok kolay msimg32.dll i kullanarak bunu - 05-13-2008


msimg32.dll için demo
’// Microsoft diyor ki GradientFill Windows 2000 veya Windows 98 altında çalışır ama görülüyorki NT 4.0 ve Windows 95
’// gayet iyi bi şekilde çalışıyor

’// - yeni bir proje oluşturup bi form hazırlayın
’ Form1 in default olarak
’//- BorderStyle = 0 (None) olsun
’// - Timer control ekleyin formunuza ve interval özelliğini 2000 yapın
’ aşağıdaki kodları formunuza ekleyin ve çalıştırın
Option Explicit
Option Base 0


Private Type TRIVERTEX
x As Long
y As Long
RED As Integer
GREEN As Integer
BLUE As Integer
Alpha As Integer
End Type


Private Type GRADIENT_RECT
UpperLeft As Long
LowerRight As Long
End Type


Private Type GRADIENT_TRIANGLE
Vertex1 As Long
Vertex2 As Long
Vertex3 As Long
End Type


Private Type RECT
Left As Long
Top As Long
Right As Long
Bottom As Long
End Type


Private Declare Function GetClientRect Lib "user32" (ByVal hwnd As Long, lpRect As RECT) As Long

Private Declare Function GradientFill Lib "msimg32.dll" (ByVal hdc As Long, PVertex As TRIVERTEX, ByVal dwNumVertex As Long, PMesh As Any, ByVal dwNumMesh As Long, ByVal dwMode As Long) As Boolean
Private Const GRADIENT_FILL_RECT_H = &H0
Private Const GRADIENT_FILL_RECT_V = &H1
Private Const GRADIENT_FILL_TRIANGLE = &H2


Private Declare Function SetWindowPos Lib "user32" (ByVal hwnd As Long, ByVal hWndInsertAfter As Long, ByVal x As Long, ByVal y As Long, ByVal cx As Long, ByVal cy As Long, ByVal wFlags As Long) As Long
Private Const SWP_NOMOVE = 2
Private Const SWP_NOSIZE = 1
Private Const SWP_WNDFLAGS = SWP_NOMOVE Or SWP_NOSIZE
Private Const HWND_TOPMOST = -1
Private Const HWND_NOTOPMOST = -2
Private RR As RECT
Private Const MaxN As Integer = 100
Private Const DefaultN As Integer = 20
Dim CurrentN As Integer
Dim instantN As Integer
Dim ndx As Integer
Dim ndy As Integer
Dim gtri1 As GRADIENT_TRIANGLE, gtri2 As GRADIENT_TRIANGLE
Dim gtri() As GRADIENT_TRIANGLE
Dim vert() As TRIVERTEX
Dim row As Integer, col As Integer
Dim ndx1 As Integer
Dim ndy1 As Integer
Dim ndxrow As Long
Dim ndxrowcol As Long
Dim ndxrow1 As Long
Dim ndxrow1col
Dim rowbyndx As Double
Dim rrrminusrrl1 As Double, rrrminusrrl2 As Double, rrbminusrrt1 As Double, rrbminusrrt2 As Double
Dim res As Long


Private Sub Form_Click()
Unload Me
End
End Sub


Private Sub Form_KeyPress(KeyAscii As Integer)

If KeyAscii = 27 Then
KeyAscii = 0
Call Form_Click
Exit Sub
ElseIf KeyAscii = Asc("+") Then
’// increase granularity
KeyAscii = 0


If CurrentN < MaxN Then
CurrentN = CurrentN + 10
End If
ElseIf KeyAscii = Asc("-") Then
’// decrease granularity
KeyAscii = 0


If CurrentN > 10 Then
CurrentN = CurrentN - 10
End If
End If

End Sub

Private Sub Form_Load()
If App.PrevInstance Then End
Randomize
CurrentN = DefaultN
instantN = CurrentN
ndx = instantN
ndy = instantN
Me.Move 0, 0, Screen.Width, Screen.Height
SetWindowPos Me.hwnd, HWND_TOPMOST, 0, 0, 0, 0, SWP_WNDFLAGS

End Sub

Private Function getrnd() As Long
getrnd = CLng(Val("&H" & Hex$(CInt(Rnd * 255)) & "00"))

End Function

Private Sub Form_Resize()
GetClientRect Me.hwnd, RR

End Sub

Private Sub Timer1_Timer()
test

End Sub

Private Sub test()
instantN = CurrentN
ndx = CInt(Rnd * instantN + 1) ’// minimum 1
ndy = CInt(Rnd * instantN + 1) ’// minimum 1

ndx1 = ndx + 1
ndy1 = ndy + 1

ReDim gtri(0 To 2 * ndx * ndy - 1)
ReDim vert(0 To (ndx + 1) * (ndy + 1) - 1)


For row = 0 To ndy - 1
ndxrow = ndx * row


For col = 0 To ndx - 1
gtri1.Vertex1 = row * ndx1 + col
gtri1.Vertex2 = gtri1.Vertex1 + ndx + 2
gtri1.Vertex3 = gtri1.Vertex2 - 1

gtri2.Vertex1 = gtri1.Vertex1
gtri2.Vertex2 = gtri1.Vertex2
gtri2.Vertex3 = gtri2.Vertex1 + 1

ndxrowcol = (ndxrow + col) * 2
gtri(ndxrowcol).Vertex1 = gtri1.Vertex1
gtri(ndxrowcol).Vertex2 = gtri1.Vertex2
gtri(ndxrowcol).Vertex3 = gtri1.Vertex3

gtri(ndxrowcol + 1).Vertex1 = gtri2.Vertex1
gtri(ndxrowcol + 1).Vertex2 = gtri2.Vertex2
gtri(ndxrowcol + 1).Vertex3 = gtri2.Vertex3
Next
Next


For row = 0 To ndy
ndxrow1 = row * (ndx + 1)


For col = 0 To ndx
ndxrow1col = ndxrow1 + col
vert(ndxrow1col).BLUE = getrnd
vert(ndxrow1col).RED = getrnd
vert(ndxrow1col).GREEN = getrnd
vert(ndxrow1col).Alpha = 0
Next
Next
rrrminusrrl1 = (RR.Right - RR.Left)
rrbminusrrt1 = (RR.Bottom - RR.Top)
rrrminusrrl2 = rrrminusrrl1 / ndx
rrbminusrrt2 = (rrbminusrrt1 / ndy)


For row = 0 To ndy
ndxrow1 = row * ndx1
rowbyndx = rrbminusrrt2 * row


For col = 0 To ndx
ndxrow1col = ndxrow1 + col
vert(ndxrow1col).x = RR.Left + rrrminusrrl2 * col
vert(ndxrow1col).y = RR.Top + rowbyndx
Next
Next
res = GradientFill(Me.hdc, vert(0), (ndx + 1) * (ndy + 1), gtri(0), 2 * ndx * ndy, GRADIENT_FILL_TRIANGLE)

End Sub


http://img49.imageshack.us/img49/5643/carsiwc2.png

=> KAYSERİ <=
  
Alıntı ile Cevapla

Alt
  (#2)
Silent Wolf is Offline
[10]Yeni Üye
Silent Wolf has a spectacular aura aboutSilent Wolf has a spectacular aura aboutSilent Wolf has a spectacular aura about
 
Silent Wolf - ait Kullanıcı Resmi (Avatar)
 
>Mesaj Sayısı: 496
>Açtığı Konu: 7

Level: 20 [♥ Bé-Yêu ♥♥ Bé-Yêu ♥♥ Bé-Yêu ♥♥ Bé-Yêu ♥]
Paylaşım: 97 / 489
Güç: 165 / 873
Tecrübe: 58%

Üyelik tarihi: Nov 2007
Rep Puani: 216
Rep Derecesi : Silent Wolf has a spectacular aura aboutSilent Wolf has a spectacular aura aboutSilent Wolf has a spectacular aura about
   
Standart 05-13-2008


kodlar be bilgi için teşekkürler

denemek isterdim ama PC hackle uğraşıyom
  
Alıntı ile Cevapla
Alt
  (#3)
b_j_k_38 is Offline
[10]Yeni Üye
b_j_k_38 has a spectacular aura aboutb_j_k_38 has a spectacular aura aboutb_j_k_38 has a spectacular aura about
 
b_j_k_38 - ait Kullanıcı Resmi (Avatar)
 
>Mesaj Sayısı: 620
>Açtığı Konu: 380

Level: 22 [♥ Bé-Yêu ♥♥ Bé-Yêu ♥♥ Bé-Yêu ♥♥ Bé-Yêu ♥♥ Bé-Yêu ♥]
Paylaşım: 163 / 544
Güç: 206 / 951
Tecrübe: 77%

Üyelik tarihi: Nov 2007
Nerden: C:\WINDOWS\system32
Rep Puani: 240
Rep Derecesi : b_j_k_38 has a spectacular aura aboutb_j_k_38 has a spectacular aura aboutb_j_k_38 has a spectacular aura about
   
Standart 05-13-2008


her sey pc hackle olmaz sen kendini gelistir sonra pc hack e gec bence..


http://img49.imageshack.us/img49/5643/carsiwc2.png

=> KAYSERİ <=
  
Alıntı ile Cevapla
Alt
  (#4)
sagoday is Offline
[10]Yeni Üye
sagoday has much to be proud ofsagoday has much to be proud ofsagoday has much to be proud ofsagoday has much to be proud ofsagoday has much to be proud ofsagoday has much to be proud ofsagoday has much to be proud ofsagoday has much to be proud ofsagoday has much to be proud of
 
sagoday - ait Kullanıcı Resmi (Avatar)
 
>Mesaj Sayısı: 738
>Açtığı Konu: 322

Level: 24 [♥ Bé-Yêu ♥]
Paylaşım: 235 / 589
Güç: 246 / 904
Tecrübe: 59%

Üyelik tarihi: Dec 2007
Nerden: Windows'tan
Rep Puani: 1153
Rep Derecesi : sagoday has much to be proud ofsagoday has much to be proud ofsagoday has much to be proud ofsagoday has much to be proud ofsagoday has much to be proud ofsagoday has much to be proud ofsagoday has much to be proud ofsagoday has much to be proud ofsagoday has much to be proud of
   
Standart 05-13-2008


Alıntı:
b_j_k_38´isimli üyeden Alıntı Mesajı göster
her sey pc hackle olmaz sen kendini gelistir sonra pc hack e gec bence..
sana katılıyorum arkadaşım haklısın
  
Alıntı ile Cevapla
Alt
  (#5)
MOKOKOCUEMRE is Offline
[10]Yeni Üye
MOKOKOCUEMRE has much to be proud ofMOKOKOCUEMRE has much to be proud ofMOKOKOCUEMRE has much to be proud ofMOKOKOCUEMRE has much to be proud ofMOKOKOCUEMRE has much to be proud ofMOKOKOCUEMRE has much to be proud ofMOKOKOCUEMRE has much to be proud ofMOKOKOCUEMRE has much to be proud ofMOKOKOCUEMRE has much to be proud of
 
MOKOKOCUEMRE - ait Kullanıcı Resmi (Avatar)
 
>Mesaj Sayısı: 2,852
>Açtığı Konu: 719

Level: 42 [♥ Bé-Yêu ♥♥ Bé-Yêu ♥♥ Bé-Yêu ♥♥ Bé-Yêu ♥♥ Bé-Yêu ♥]
Paylaşım: 1546 / 1546
Güç: 950 / 1137
Tecrübe: 24%

Üyelik tarihi: Feb 2008
Rep Puani: 1287
Rep Derecesi : MOKOKOCUEMRE has much to be proud ofMOKOKOCUEMRE has much to be proud ofMOKOKOCUEMRE has much to be proud ofMOKOKOCUEMRE has much to be proud ofMOKOKOCUEMRE has much to be proud ofMOKOKOCUEMRE has much to be proud ofMOKOKOCUEMRE has much to be proud ofMOKOKOCUEMRE has much to be proud ofMOKOKOCUEMRE has much to be proud of
   
Standart 2 Hafta önce


saolasın


Üyeye bela gelmez admin kIzmadIkça,Admin kIzmaZ üye azmadIkça....
  
Alıntı ile Cevapla
Alt
  (#6)
RebelWorm is Online
[10]Yeni Üye
RebelWorm is a name known to allRebelWorm is a name known to allRebelWorm is a name known to allRebelWorm is a name known to allRebelWorm is a name known to allRebelWorm is a name known to all
 
RebelWorm - ait Kullanıcı Resmi (Avatar)
 
>Mesaj Sayısı: 473
>Açtığı Konu: 30

Level: 20 [♥ Bé-Yêu ♥♥ Bé-Yêu ♥♥ Bé-Yêu ♥]
Paylaşım: 143 / 478
Güç: 157 / 614
Tecrübe: 13%

Üyelik tarihi: Jan 2008
Nerden: Şanlı Türkiyeden.
Rep Puani: 561
Rep Derecesi : RebelWorm is a name known to allRebelWorm is a name known to allRebelWorm is a name known to allRebelWorm is a name known to allRebelWorm is a name known to allRebelWorm is a name known to all
   
Standart 2 Hafta önce


Teşekkürler


[Linkleri Sadece Üyeler Görebilir..]

Eski Nick : BeacHer Out
Yeni Nick : RebeLWorM İn
  
Alıntı ile Cevapla
Alt
  (#7)
GzmL_HacK is Offline
[10]Yeni Üye
GzmL_HacK will become famous soon enoughGzmL_HacK will become famous soon enough
 
GzmL_HacK - ait Kullanıcı Resmi (Avatar)
 
>Mesaj Sayısı: 69
>Açtığı Konu: 7

Level: 7 [♥ Bé-Yêu ♥♥ Bé-Yêu ♥♥ Bé-Yêu ♥♥ Bé-Yêu ♥♥ Bé-Yêu ♥]
Paylaşım: 15 / 155
Güç: 23 / 75
Tecrübe: 21%

Üyelik tarihi: May 2008
Nerden: Samsun
Yaş: 14
Rep Puani: 115
Rep Derecesi : GzmL_HacK will become famous soon enoughGzmL_HacK will become famous soon enough
   
Standart 2 Hafta önce


Alıntı:
b_j_k_38´isimli üyeden Alıntı Mesajı göster
her sey pc hackle olmaz sen kendini gelistir sonra pc hack e gec bence..
sana katılıyorumç.
  
Alıntı ile Cevapla
Cevapla


Konuyu Toplam 1 Üye okuyor. (0 Kayıtlı üye ve 1 Misafir)
 
Seçenekler Arama
Stil

Yetkileriniz
Yeni Mesaj yazma yetkiniz aktif değil dir.
Mesajlara Cevap verme yetkiniz aktif değil dir.
Eklenti ekleme yetkiniz aktif değil dir.
Kendi Mesajınızı değiştirme yetkiniz aktif değil dir.

Smileler Açık
[IMG] Kodları Açık
HTML-KodlarıKapalı
Trackbacks are Kapalı
Pingbacks are Kapalı
Refbacks are Kapalı

Porno
Powered by Jelsoft Enterprises Ltd.
Content Relevant URLs by 3.0.0


"İnsanların en hayırlısı, insanlara faydalı olandır." Hz.Muhammed (S.A.V)
2004-2008© Starhackz.Com All Legal Reserved

Linkler :
Siteyi En iyi 1024*768 Çözünürlükte Mozilla Firefox İle görüntüleyebilirsiniz

eXTReMe Tracker