home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / sys / mac / programm / 12759 < prev    next >
Encoding:
Internet Message Format  |  1992-07-21  |  934 b 

  1. Path: sparky!uunet!ogicse!das-news.harvard.edu!cantaloupe.srv.cs.cmu.edu!crabapple.srv.cs.cmu.edu!andrew.cmu.edu!bc2k+
  2. From: bc2k+@andrew.cmu.edu (Brian Campbell)
  3. Newsgroups: comp.sys.mac.programmer
  4. Subject: Scrolling graphics
  5. Message-ID: <4eP22oe00WBKA2B10h@andrew.cmu.edu>
  6. Date: 21 Jul 92 06:35:32 GMT
  7. Article-I.D.: andrew.4eP22oe00WBKA2B10h
  8. Organization: Carnegie Mellon, Pittsburgh, PA
  9. Lines: 11
  10.  
  11.  
  12.    I need to put horizontal and vertical scroll bars on a graphical
  13. circuit simulator program that I am writing in THINK C.  There is a grid
  14. on the screen that is filled with icons, connecting lines, and so forth.
  15.  I looked in several books, but all I could find were text scrolling
  16. examples.  I already know how to draw the scroll bars and resize them,
  17. but I do not know how to have them actually scroll the screen (or
  18. auto-scroll when dragging an icon to the side of the screen).  Any help
  19. would be greatly appreciated.
  20.  
  21. -- Brian
  22.