Ghery ™-MemBeR-™
Jumlah posting : 24 Cendol : 54 Reputation : 1 Join date : 10.07.11
| Subyek: Cara Membuat Form Tembus Pandang (Visual Schooling) Tue Jul 12, 2011 6:19 pm | |
| Saya Tulis Ndiri jadi c&p ceridit ea klu gx mama lu mati hehehe kiding langsung saja Tahap Pertama Buat Sebuah Form Dan Masukan Code Sbg Berikut.. - Spoiler:
'open source aja yaa ini seting transparan kalau gx da ini ya gx tembus pandang Private noc As Integer Private str1 As String Private str2 As String Private str3 As String Private strmessage As String
Private resmue As String Private winHwnd As Long Private bSuspend As Boolean
Option Explicit Private Declare Function ExtCreateRegion Lib "gdi32" (lpXform As Any, ByVal nCount As Long, lpRgnData As Any) As Long Private Declare Function SetWindowRgn Lib "USER32" (ByVal hwnd As Long, ByVal hRgn As Long, ByVal bRedraw As Boolean) As Long
Dim bytRegion(31) As Byte Dim nBytes As Long 'Win 2k, ME, XP Private Const GWL_EXSTYLE As Long = (-20) Private Const WS_EX_LAYERED As Long = &H80000 Private Const LWA_ALPHA As Long = &H2 Private NamaDll As String Private Declare Function GetWindowLongA Lib "USER32" (ByVal hwnd As Long, _ ByVal nIndex As Long) As Long Private Declare Function SetWindowLongA Lib "USER32" (ByVal hwnd As Long, _ ByVal nIndex As Long, _ ByVal dwNewLong As Long) As Long Private Declare Function SetLayeredWindowAttributes Lib "USER32" (ByVal hwnd As Long, _ ByVal crey As Byte, _ ByVal bAlpha As Byte, _ ByVal dwFlags As Long) As Long 'fungsi transparent form Fungsi Master Hacker Newbie Private Sub Opacity(Value As Byte, _ Frm As Form)
Dim MaxVal As Byte Dim MinVal As Byte
On Error GoTo ErrorHandler MinVal = 20 MaxVal = 255 If Value > MaxVal Then Value = MaxVal End If If Value < MinVal Then Value = MinVal End If SetWindowLongA Frm.hwnd, GWL_EXSTYLE, GetWindowLongA(Frm.hwnd, GWL_EXSTYLE) Or WS_EX_LAYERED SetLayeredWindowAttributes Frm.hwnd, 0, Value, LWA_ALPHA ErrorHandler:
Exit Sub
End Sub
Private Sub form_load() Opacity 200, Me 'pengaturan Transparan nya nBytes = 100 ' gx da ni gx jadi tuh tranparan
End Sub
|
|
rizki ™-Newbie_Member-™
Jumlah posting : 3 Cendol : 3 Reputation : 0 Join date : 01.08.11
| Subyek: Re: Cara Membuat Form Tembus Pandang (Visual Schooling) Mon Aug 01, 2011 11:49 pm | |
| |
|
Kurohige ™-MemBeR-™
Jumlah posting : 79 Cendol : 98 Reputation : 6 Join date : 22.07.11
| Subyek: Re: Cara Membuat Form Tembus Pandang (Visual Schooling) Tue Aug 02, 2011 1:09 pm | |
| - rizki wrote:
- +++
woi jgn junk Warn 1 reason junk Btw buat TS:Share lebih jelas donk ok :D |
|
Sponsored content
| Subyek: Re: Cara Membuat Form Tembus Pandang (Visual Schooling) | |
| |
|