Hi all. I recently wrote a python program that takes a screenshot of the current active window. After taking that screenshot, it saves it as a bmp (using PIL), and then goes thru each pixel, looking for a certain color. If it finds that color, it moves the mouse to that location (using ctypes) I am trying to write this in c++, but due to python's speed issues (I'm no expert with c++, I've been dawdling more than anything) and was wondering how to go about taking a screenshot of the active window (I've already got down clicking and mouse movement, using window.h) Is there any type of library that could do this, or is somewhat similar to python's PIL? Any comments/suggestions would be appreciated. Thanks!