Video Tutorial – Send Keys To An Inactive Window – Windows Messages February 18, 2011 This tutorial will show you how to send keys to an inactive window by using Windows Messages. The code sample is in C# but can easily be translated into C++ and VB. Part 1 – Grabbing the Messages! Part 2 – Writing the Application! Source Code! Enjoy.