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