VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

'Get a list of Open Window Names using GetDesktopWindow,GetWindow and GetWindowText API

Karthikeyan  (187 Submissions)   Windows API Call/Explanation   Visual Basic 5.0   Unknown Difficulty   Tue 23rd January 2001   Mon 8th February 2021

'Get a list of Open Window Names using GetDesktopWindow,GetWindow and GetWindowText API

API Declarations


Private Declare Function GetWindow Lib "user32" (ByVal hwnd As Long, ByVal wCmd 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 Const GW_CHILD = 5
Private Const GW_HWNDNEXT = 2

Rate 'Get a list of Open Window Names using GetDesktopWindow,GetWindow and GetWindowText API (1(1 Vote))
'Get a list of Open Window Names using GetDesktopWindow,GetWindow and GetWindowText API.bas

'Get a list of Open Window Names using GetDesktopWindow,GetWindow and GetWindowText API Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters