Visual Basic 6 ile Windows’ta açık olan pencereler
Windowsta açık olan pencerelerin ismini listbox'a ekleyen program |
Private Declare Function GetForegroundWindow Lib "user32" () As Long
Private Declare Function GetParent Lib "user32" _ Private Declare Function GetWindowTextLength Lib "user32" _ Private Declare Function GetWindowText Lib "user32" Alias _ Public Function GetActiveWindow(ByVal ReturnParent As Boolean) As Long GetActiveWindow = i Public Function GetWindowTitle(ByVal hwnd As Long) As String l = GetWindowTextLength(hwnd) GetWindowText hwnd, s, l + 1 GetWindowTitle = Left$(s, l) Private Sub Timer1_Timer() |
Kodlar çalışıyor. Açıklama satırı eklendi
BeğenBeğen