Article View: comp.windows.ms.programmer
Article #2190Beginner help example code!
From: papp
Date: Thu, 18 Apr 1991 20:23
Date: Thu, 18 Apr 1991 20:23
21 lines
1187 bytes
1187 bytes
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
Technical Details
Message-ID:
<Apr.18.16.23.43.1991.16747@remus.rutgers.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!psuvax1!rutgers!aramis.rutgers.edu!remus.rutgers.edu!pappShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!psuvax1!rutgers!aramis.rutgers.edu!remus.rutgers.edu!papp From: papp@remus.rutgers.edu (papp) Newsgroups: comp.windows.ms.programmer Subject: Beginner help example code! Keywords: Scrollbars, Text display Message-ID: <Apr.18.16.23.43.1991.16747@remus.rutgers.edu> Date: 18 Apr 91 20:23:44 GMT Organization: Rutgers Univ., New Brunswick, N.J. Lines: 21