home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / unix / wizards / 3325 < prev    next >
Encoding:
Text File  |  1992-07-27  |  1.0 KB  |  28 lines

  1. Newsgroups: comp.windows.x.openlook,comp.unix.wizards
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!The-Star.honeywell.com!umn.edu!csus.edu!netcomsv!mork!eli
  3. From: eli@netcom.com (Interpretive Systems)
  4. Subject: Question about limiting repaints when scrolling
  5. Message-ID: <h2lmwa_.eli@netcom.com>
  6. Date: Mon, 27 Jul 92 18:06:24 GMT
  7. Organization: Netcom - Online Communication Services  (408 241-9760 guest) 
  8. Summary: How to limit scrollbar repaints to repaint only when the mouse button is released?
  9. Sender: Eli Sternheim
  10. Keywords: openwindows, scroolbar, repaint
  11. Lines: 15
  12.  
  13.  
  14. Hi,
  15. I have a windows application which draws some graphics on a canvas. When the
  16. scroll bar is used to scroll, the canvas is repainted every PIXELS_PER_UNIT,
  17. and the effect is very annoying. Instead I would like to have only one
  18. repaint, when the user releases the mouse button (i.e. at teh end of the
  19. scrolling).
  20.  
  21. I will appreciate any advice on how to do it (I could not find the answer
  22. in the "XView Programming Manual").
  23.  
  24. Thanks,
  25.     Eli Sternheim
  26.     interHDL Inc.
  27.     (408) 749-8775
  28.