WM_SIZE is still a good place to resize your memory DC and selected bitmap object. Then in WM_PAINT, all you have to do is BitBlt your memory DC to your window DC.