VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Retrieve the title of the active window

Anonymous  (267 Submissions)   Custom Controls/Forms/Menus   Visual Basic 4.0 (32-bit)   Unknown Difficulty   Wed 2nd June 1999   Mon 8th February 2021

Retrieve the title of the active window

API Declarations


Private Declare Function GetWindowTextLength Lib "user32" Alias "GetWindowTextLengthA" (ByVal hwnd 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 GetParent Lib "user32" (ByVal hwnd As Long) As Long


Rate Retrieve the title of the active window (2(2 Vote))
Retrieve the title of the active window.bas

Retrieve the title of the active window Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters