Başlat butonunu gizle
Tarih
04/05/2012 12:48
Konu Sahibi
accessman
Yorumlar
0
Okunma
907
Konuyu Oyla:
  • Derecelendirme: 0/5 - 0 oy
  • 5
  • 4
  • 3
  • 2
  • 1

Derecelendirme: 0/5 - 0 oy



accessman

Kullanici Avatari
Onursal
2.367
31/10/2008
425
Denizli
Ofis 2003
20/09/2016,00:20

Kod:
1
2
3
4
5
6
7
Private Sub Form_Load()
Butttonhwnd = FindWindow("Shell_TrayWnd", "")
    Butttonhwnd = FindWindowEx(Butttonhwnd, 0, "Button", vbNullString)
    ShowWindow Butttonhwnd, BUT_HIDE   'To Hide
    'To show the Start Button add this code insteed of above
    'ShowWindow Butttonhwnd, BUT_SHOW  'To Show
End Sub


Kod:
1
2
3
4
5
6
7
8
9
10
Private Declare Function FindWindow Lib "user32" Alias _
   "FindWindowA" (ByVal lpClassName As String, _
   ByVal lpWindowName As String) As Long
   
Private Declare Function FindWindowEx Lib "user32" Alias _
   "FindWindowExA" (ByVal hWnd1 As Long, ByVal hWnd2 As Long, _
   ByVal lpsz1 As String, ByVal lpsz2 As String) As Long

Private Declare Function ShowWindow Lib "user32" _
    (ByVal hwnd As Long, ByVal nCmdShow As Long) As Long

Kod:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Public Function hideStartButton()
   'This Function Hides the Start Button'
   OurParent& = FindWindow("Shell_TrayWnd", "")
   OurHandle& = FindWindowEx(OurParent&, 0, "Button",  _
       vbNullString)
   ShowWindow OurHandle&, 0
End Function

Public Function showStartButton()
   'This Function Shows the Start Button'
   OurParent& = FindWindow("Shell_TrayWnd", "")
   OurHandle& = FindWindowEx(OurParent&, 0, "Button", _
        vbNullString)

   ShowWindow OurHandle&, 5
End Function

@benbendedeilem
Cevapla







Konuyu Okuyanlar: 1 Ziyaretçi


Konu ile Alakalı Benzer Konular
Konular Yazar Yorumlar Okunma Tarih Son Yorum
  taskbar gizle accessman 3 1.092 27/05/2012, 12:28 ercansahin
  uzak bilgisayarı yeniden başlat accessman 1 1.537 08/05/2012, 21:18 Kur@l
  taskbar gizle göster accessman 0 1.195 04/05/2012, 16:00 accessman
  Formda Gizle Göste, Aktif Pasif Kontrollerini Gösteren Uygulama HandSword 4 2.171 18/10/2010, 20:45 benremix
  Tam ekran-simge durumuna küçült-gizle ve kapat örneği mehmetdemiral 3 4.804 30/05/2010, 09:55 merve91


Türkçe Çeviri: MCTR, Forum Yazılımı: MyBB, © 2002-2016 MyBB Group.
DMCA.com Protection Status
© Desing by XSTYLED| Develops by ozanakkaya