Formu Görev Çubuğunda Gizlemek

Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...

x60

Seçkin Üye
Katılım
18 Kas 2015
Mesajlar
523
Tepki puanı
6
Yaş
101
10 HİZMET YILI
PHP:
Option Explicit

Private Declare Function SetWindowLong Lib ?user32? Alias ?SetWindowLongA? (ByVal hwnd As Long , ByVal nIndex As Long , ByVal dwNewLong As Long) As Long

Private Declare Function GetWindowLong Lib ?user32? Alias ?GetWindowLongA? (ByVal hwnd As Long , ByVal nIndex As Long) As Long


Private Const WS_EX_APPWINDOW = &H40000
Private Const GWL_EXSTYLE= (-20)

Private Sub Command1_Click()

Dim a, b As Long
a = GetWindowLong(hwnd , GWL_EXSTYLE)
b= b And (Not WS_EX_APPWINDOW)
Hide
SetWindowLong hwnd , GWL_EXSTYLE, b
Show

End Sub
 
Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...
Üst