home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!decwrl!concert!borg!news_server!ladd
- From: ladd@oscar.cs.unc.edu (Brian Ladd)
- Newsgroups: comp.os.os2.programmer
- Subject: Scroll Bars Acting Up - Really!
- Message-ID: <LADD.92Aug22230226@oscar.cs.unc.edu>
- Date: 23 Aug 92 03:02:26 GMT
- Sender: news@cs.unc.edu
- Distribution: comp
- Organization: UNC Department of Computer Science
- Lines: 21
-
- A few days ago I posted about a problem with sticky scroll bar controls;
- since then I have had some offers of help --- if I could provide source
- code. So I sliced, I diced, I simplified and I created mini.c, a little
- program which displays a small square of colored squares and allows you to
- size the frame and scroll the image. It is a few hundred lines long, so
- instead of boring everyone and their brother with it it is available for
- ftp from ftp.cs.unc.edu in /pub/ladd/mini.zoo. The archive contains my make
- file as well as the mindless, yet oddly behaving code.
-
- While I am on the subject, there is an almost fix in the code (compile it
- with FIX defined to see the difference) where the actual scrolling only
- happens upon receipt of SBM_ENDSCROLL messages; this is ALMOST
- satisfactory: it does not allow me to actually hold down MB1 and scroll, a
- line at a time, from the bottom to the top. I must release the MB and THEN
- it scrolls, however many lines it registered as having been pressed.
-
- Again, any assistance is greatly appreciated. -bcl
-
- Brian C. Ladd
- Graduate Student & *NIX Court Jester
- UNC - Chapel Hill
-