Windows 98 Auto Scroll Problem
Im having a really torrid time trying to figure out an auto-scroll problem im having with an application running under Windows 98.
Ive wrote this simple application which serves like a chat client and uses a rich edit control for the incoming text to be displayed.
Ive wrote the client in C and am NOT using MFC, Ive just used Visual Studio's Resource manager to make the dialog box.
Im not sure if the autoscroll problem is related to the Rich Edit Control as I dont have a windows 98 machine so its tricky for me to test but its been reported to me by people who use the app and its driving them nuts, so im trying to figure out a fix.
Im loading this Rich Edit control by loading the library Riched32.dll and this loads fine on XP, 2000 and 98 but when new text is added on 98 the control doesnt auto-scroll when it reaches the bottom. Apparently they can also manually scroll much further down where there is no data either.
My resource files looks like this :
So im adding the Autoscroll correctly when its created. Is there message I can send to the control to say "you must auto-scroll" after each piece of text I add to the control ?
CONTROL "",IDC_RICHEDIT2,"RICHEDIT",ES_MULTILINE |
ES_AUTOVSCROLL | ES_READONLY | WS_BORDER | WS_VSCROLL |
Its difficult for me to test because I only have 2000 where it functions like it should so any suggestions people may have as to why this could be happening on 98 would be greatly appreciated.