I want to use the ScrollWindowEx to animate window, when scrolling. i mean I can't use ScrollwindowEx do the same thing that scrollwindow do, if i change the last parameter to SW_SMOOTHSCROLL. it can't update the region scrolled.why not have a try? you can test the following code inyou application. ... CRect rcClient; GetClientRect(&rcClient); ScrollwindowEx(100,0, &rcClient, &rcClient, NULL,NULL, SW_SMOOTHSCROLL); ... c++ : my dream