EDIT screen shot of a window
Command-Shift-4, press the Space Bar, move the camera pointer over the area to highlight it, and then click.
To cancel, press Escape.
Also, take a look at the program "Grab" in the Utilities folder. I use LittleSnapper from RealMac software. Preview has a screenshot capability too, under the File menu, near the bottom of the list.