|
du brauchst eine form und ein command button...
Private Declare Function FindWindow Lib "user32" Alias "FindWindowA" (ByVal lpClassName As String, ByVal lpWindowName As String) As Long
Private Declare Function SetWindowText Lib "user32" Alias "SetWindowTextA" (ByVal hwnd As Long, ByVal lpString As String) As Long
Dim hWndDest As Long
Private Sub Command1_Click()
hWndDest = FindWindow(vbNullString, "FENSTERTITEL")
SetWindowText hWndDest, "NEUER FENSTERTITEL"
End Sub
|