When you are using a edit text box then you can use teh edit control styles like ES_AUTOHSCROLL and ES_AUTOVSCROLL as teh styles of edit box.
This will not get activated when you will run your program but these will work when you will open a specified file in the box .
And teh text can be scrolled ,same can be done by passing EN_MAXTEXT when you have'nt set teh ES_AUTOVSCROLL and ES_AUTOHSCROLL ..
I am adding a attachment with screen shots which will show you teh before adn after effect in an edit box...
And as keep searching if you did'nt find your thing :
Attached File ( Number of downloads: 69 )