I believe windows does this already. Try holding SHIFT+Print Screen or ALT+Print Screen. This will capture ONLY the active window. Just pressing the Print Screen button should capture the entire screen.
It's been a while since I've played with it but I'm sure you can find more information with a google search.
Good luck!