hi

i have a scrollbar for an error-log output area on the main window. now i want that everytime the contet of that area is updated, the srcollbar goes to the BOTTOM (with the content moving also). i thought easyest would be, simply sending the scrollbar a message that it should scroll to the last position. (it then would send a message to the main window, which moves the contet.) I tried

SendMessage(hwndErrorScroll,WM_VSCROLL,SB_BOTTOM,0 L);

, but the scrollbar isn't moving.

any help?