Why are you terminating the process manually on WM_DESTROY? You're already returning from WinMain() when the window gets destroyed.
Anyway, what Khatharr said. If you set the background brush in your window class to a specific brush, it will automatically be used to draw inside the window when it gets resized. For example, use GetStockObject( BLACK_BRUSH ) or GetStockObject( WHITE_BRUSH ).