HSN interview question

Describe how to minimize/maximize a window.