05-27-2012, 03:52 PM
Biar di taskbar ga keliatan caranya
ente klik form nya -> Lihat bagian properties form nya, -> Show in taskbar nya ganti jadi false gan
nih buat yang always on top
Fungsi API :
Tambahin ini di form
cara pake nya
Contoh
moga membantu
ente klik form nya -> Lihat bagian properties form nya, -> Show in taskbar nya ganti jadi false gan
nih buat yang always on top
Fungsi API :
Code:
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 LongTambahin ini di form
Code:
Private Sub FormOnTop(frmForm As Form, Optional blnTop As Boolean = True)
If blnTop Then
SetWindowPos frmForm.Hwnd, -1, 0, 0, 0, 0, 3
Else
SetWindowPos frmForm.Hwnd, -2, 0, 0, 0, 0, 3
End If
End Subcara pake nya
Contoh
Code:
FormOnTop Form1, Truemoga membantu
" Stay Hungry, Stay Foolish "



