Attached is a test piece for displaying text of effectively any size using a single procedure call. Its a window with a rich edit control that will load and display whatever text is pointed at it, the option of wordwrap or not and setting the window size in pixels for display. It is called with code like this,
; «««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««
main proc
LOCAL tMem :DWORD
mov tMem, InputFile("\masm32\include\windows.inc")
fn text_display,tMem,0,640,480,0
free tMem
exit
main endp
; «««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««
[attachment deleted by admin]