by Izek (7 Submissions)
Category: Complete Applications
Compatability: Visual Basic 3.0
Difficulty: Beginner
Date Added: Wed 3rd February 2021
Rating: (7 Votes)
This program can be used to obtain handle of any visible window as well as generate the code to find that window using findwindow and findwindowex api functions. It also shows how to use drawfocusrect function to draw a rectangle around any window indicating that it has focus. All the code is commented and should be easy to understand.