Hi, It could be that you're resizing when the scrollbar has already been shown. Try to do it in OnSizing (WM_SIZING) or try to SetRedraw(FALSE) before, then SetRedraw(TRUE) after the resizing process. Hope this helps, Paolo. ------ "airplane is cool, but space shuttle is even better" (J. Kaczorowski)