Clearing drawing state WM_CLOSE... !OK to WM_CLOSE WM_CLOSE... WM_MYCLOSE: First MyClose WM_MYCLOSE: We're done! WM_DESTROY Deleting filelist Saving Paper Deleting surfaces Freeing palette Restoring cursor