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