In the Tools - Options - Environment - General page, you'll find the checkboxes

This blog post has moved to http://saraford.net/2007/12/24/did-you-know-how-to-customize-auto-hiding-and-closing-docked-tool-windows-113/