VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Enumerating Windows Using the API

Angsuman Banerji  (23 Submissions)   Windows API Call/Explanation   VB 6.0   Unknown Difficulty   Fri 4th January 2008   Mon 8th February 2021

Enumerating Windows Using the API

API Declarations


ByVal lpEnumFunc As Long, _
ByVal lparam As Long _
) As Long

Public Declare Function IsWindowVisible Lib "user32" ( _
ByVal hwnd As Long) As Long

Public Declare Function GetWindowText Lib "user32" _
Alias "GetWindowTextA" ( _
ByVal hwnd As Long, _
ByVal lpString As String, _
ByVal cch As Long _
) As Long

Public Declare Function GetWindowTextLength Lib "user32" _
Alias "GetWindowTextLengthA" ( _
ByVal hwnd As Long _
) As Long

Public Declare Function GetClassName Lib "user32" _
Alias "GetClassNameA" ( _
ByVal hwnd As Long, _
ByVal lpClassName As String, _
ByVal nMaxCount As Long _
) As Long


Rate Enumerating Windows Using the API (1(1 Vote))
Enumerating Windows Using the API.bas

Enumerating Windows Using the API Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters