dazappa007
Programmer
OK well I think I found a user32.dll function that is perfect for me: GetWindowTextA. The problem is, I don't know how to do it... In vb you'd do
But yeah, can someone help me convert that to delphi?
Code:
Private Declare Function GetWindowText Lib "user32" Alias "GetWindowTextA"
(ByVal hWnd As System.IntPtr, ByVal lpString As System.Text.StringBuilder,
ByVal nMaxCount As Integer) As Integer