VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Get the window which has got focus using GetFocus API

Karthikeyan  (187 Submissions)   Windows API Call/Explanation   Visual Basic 5.0   Unknown Difficulty   Sat 17th February 2001   Mon 8th February 2021

Get the window which has got focus using GetFocus API

API Declarations


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

Rate Get the window which has got focus using GetFocus API (1(1 Vote))
Get the window which has got focus using GetFocus API.bas

Get the window which has got focus using GetFocus API Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters