home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / fj / maillis / xwindow / 18985 < prev    next >
Encoding:
Internet Message Format  |  1992-12-30  |  1.4 KB

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