This email was created by [your name] who thought you would be interested in the following Article:
"Sweep the Minesweeper"
This article shows how to inject your code into another applications address space and then subclass their window to force it to act as you desire.
CodeProject also contains hundreds of articles, free source code samples and applications to help in your day to day programming. Why not give it a try!