![]() |
|
[ask]code buat always on top dan enggak visible di taskbar - Printable Version +- HN-Community (https://hacker-newbie.org) +-- Forum: Miscellaneous (https://hacker-newbie.org/forum-86.html) +--- Forum: Coding/Programing (https://hacker-newbie.org/forum-19.html) +---- Forum: Visual Basic (VB) (https://hacker-newbie.org/forum-68.html) +---- Thread: [ask]code buat always on top dan enggak visible di taskbar (/thread-13952.html) |
[ask]code buat always on top dan enggak visible di taskbar - JuanTheGlassesMan - 05-27-2012 maaf min klo thread ane nyampah delete aja klo meresahkan.saya cuma pengen nanya byar windows kita selalu always on top codenya apa ya ? terus byar apps kita ga ada jejaknya di taskbar itu codenya apa? soalnya saya udah showintaskbar false masih bisa keliatan , itu kenapa ya? sekali lagi thank you
RE: [ask]code buat always on top dan enggak visible di taskbar - mydisha - 05-27-2012 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 : 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
RE: [ask]code buat always on top dan enggak visible di taskbar - JuanTheGlassesMan - 05-27-2012 wah thanks ya kak mydisha udah berhasil nih heh HN emang the best RE: [ask]code buat always on top dan enggak visible di taskbar - mydisha - 05-27-2012 yoa sama sama bro ![]() keep coding :) |