Paint the background with the correct color if WS_BORDER.