General |
Here you can download the source code to the program
PasswordSpy. This program is not very complex, but it does demonstrate
several advanced Windows techniques. PasswordSpy shows you how to "capture"
all mouse events, search through the window handles on your system, plus
draw in the client area of another window [of another process]. It also
demonstrates how with a single line of code you can toggle a program
between "always on top" and normal. By far the most interesting and
advanced part of PasswordSpy is the windows hooks. In order to copy the
password on Windows 2000 or later, a Windows hook must be set.
|