home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / os / os2 / programm / 4389 < prev    next >
Encoding:
Internet Message Format  |  1992-08-22  |  1.4 KB

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