home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!stanford.edu!sun-barr!sh.wide!wnoc-tyo-news!scslwide!wsgw!wsservra!onoe
- From: brown@zen.wes.army.mil (Paul Brown)
- Newsgroups: fj.mail-lists.x-window
- Subject: Sync-scroll of multiple drawing areas.
- Message-ID: <1992Dec30.175747.13212@sm.sony.co.jp>
- Date: 30 Dec 92 17:57:47 GMT
- Sender: onoe@sm.sony.co.jp (Atsushi Onoe)
- Distribution: fj
- Organization: Workstation Div., Supermicro Systems Group, Sony Corporation
- Lines: 25
- Approved: michael@sm.sony.co.jp
-
- Date: Wed, 30 Dec 92 10:27:00 CST
- Message-Id: <9212301627.AA12915@zen.WES.ARMY.MIL>
-
- Setup: Cray Y-MP, UNICOS 6.0, X11R4, Motif 1.1
-
- I have eight drawing areas displayed within one client. Each drawing area
- has vertical and horizontal scroll capability - which works fine. Although
- each drawing area can be scrolled independently of the others, it is some-
- times desirable to synchronize this function in the horizontal direction.
-
- To accomplish this I have create a custom popup dialog which contains a
- horizontal scale. When this scale is moved I go through extensive cont-
- ortions to make each drawing area scroll. It works, but it's slow and I'm
- looking for a better implementation.
-
- My question is: can I somehow fake the scroll bar movement event within
- each of these drawing areas so that the movement is handled by the callbacks
- that are already registered (just as if I had very rapidly clicked each
- scroll bar area with the mouse)?
-
- Thanks for your ideas.
-
-
- Paul Brown
- brown@zen.wes.army.mil
-