I've got a read only edit box I'm using to out put some data too using TextOutA and I created the window with WS_VSCROLL and ES_AUTOVSCROLL styles along with read only. However, once my output hits the bottom it keeps right on going and there is no scroll bar in the greyed out portion on the right. I did the calculations and added the ScrollWindow routines myself but the placemat for the scroll bars if just sitting there off to the right dormant.
What am I overlooking? Everything I read said this thing was supposed to autoscroll but it doesn't. Petzold's examples use a hardcoded \r\n when the user hits it and none are read only examples.
I could take out the style on the edit control and make the main window WS_VSCROLL and work from there I guess, but it's just bugging me now. Why cant this window scroll? Are read only edits allowed to scroll or what is the trick to enabling the scroll bar?