🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.x.openlook
Article #2

Question about limiting repaints when scrolling

#2
From: Interpretive Systems
Date: Mon, 27 Jul 1992 18:06
15 lines
1101 bytes
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
Technical Details
Message-ID: <h2lmwa_.eli@netcom.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!The-Star.honeywell.com!umn.edu!csus.edu!netcomsv!mork!eli

Show Full Headers
Complete Article Headers
Newsgroups: comp.windows.x.openlook,comp.unix.wizards
Path: arc1-ca.pugleaf.net!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