[comp.windows.ms.programmer] Beginner help example code!

papp@remus.rutgers.edu (papp) (04/19/91)

I am new to programming for MicroSoft Windows, and I need a little
help:
(I am using Borland C++ 2.0, but am myself still a C programmer!)

I am trying to write a program which simply opens a window, displays a
given text file on the screen (using ANISOTROPIC mode and PutText) and
attaches a scrollbar to that window (One that performs properly, that
is.. <sigh)

My PAINT routine doesn't update invalidated regions properly after
scrolling the window, and I am having BIG SYSTEM CRASHES whenever I
try to do file I/O.  I think that is because I am allocating and
locking memory improperly.

If anyone has some C code to do some or all of what I've described,
PLEASE MAIL ME!  

Thanks,
-Al
papp@remus.rutgers.edu