Made further changes to the sample framework to properly handle the cases of the window minimizing. Also added handling for the window being maximized.
Made further changes to the sample framework to properly handle the cases of the
window minimizing. Also added handling for the window being maximized.

davisoa/slimdx,davisoa/slimdx,davisoa/slimdx,davisoa/slimdx,davisoa/slimdx,davisoa/slimdx