RE:Capturar caption de ventana de windows
Hola necesitás saber el Hwnd de la ventana en cuestion. Una ves con el Handle podes usar GetWindows y getWindowsTextLength , un ejemplo del Apiguide de estas 2 ultimas funciones
Private Declare Function GetWindowText Lib "user32" Alias "GetWindowTextA" (ByVal hwnd As Long, ByVal lpString As String, ByVal cch As Long) As Long
Private Declare Function GetWindowTextLength Lib "user32" Alias "GetWindowTextLengthA" (ByVal hwnd As Long) As Long
Private Sub Form_Activate()
MyStr = String(GetWindowTextLength(Me.hwnd) + 1, Chr$(0))
GetWindowText Me.hwnd, MyStr, Len(MyStr)
MsgBox MyStr
End Sub
Pd: las otras funciones que podes chequear son FindWindow y Getwindow