VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Get a window's title text

Varun Godbole  (15 Submissions)   Windows API Call/Explanation   VB 6.0   Unknown Difficulty   Sun 22nd April 2007   Mon 8th February 2021

Get a window's title text

API Declarations


Dim blnChoose As Boolean

Private Declare Function SetCapture Lib "user32" (ByVal hwnd As Long) As Long
Private Declare Function ReleaseCapture Lib "user32" () As Long
Private Declare Function WindowFromPoint Lib "user32" (ByVal xPoint As Long, ByVal yPoint As Long) As Long
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 ClientToScreen Lib "user32" (ByVal hwnd As Long, lpPoint As POINTAPI) As Long

'Put this in a module/////////////////////////////////////////////////////////
Type POINTAPI
x As Long
y As Long
End Type
//////////////////////////////////////////////////////////////////////////////


Rate Get a window's title text (1(1 Vote))
Get a window's title text.bas

Get a window's title text Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters