When resizing a form with many controls, the form looks bad because of flickering. What are some tips to have a smoother form resizing?
Try using WM_SETREDRAW (not LockWindowUpdate).
You might also have a look at DeferWindowPos.