🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.ms.programmer
Article #71

HELP?: "Smart" scrolling in BC++ ObjectWindows

#71
From: Ralph Kuntz
Date: Sun, 26 Jul 1992 18:47
22 lines
1273 bytes
Hi-

I am developing a Windows application using BC++ 3.1 and
ObjectWindows.  I am having some trouble "optimizing" re-painting the
window with TScroller.

I have AutoOrg == TRUE, AutoMode = FALSE, AutoTrack = TRUE.  In my
TMyWindow::Paint routine, I can't figure out the "coordinates" of the
rectangle that needs to be repainted.  My window paints a bitmap with
Bitblt(hDC, a, b, c, d, memDC, e, f, SRCCOPY).  What should go into
the arguments a, b, c, d, e, and f?  I know it is a function of
paintInfo.rcPaint.left, ..., and the origin of the client area
viewport.

Any help or pointer to an example file that does this?

			Thanks, Ralph
-- 
G. Ralph Kuntz
Medical student, UMDNJ - Robert Wood Johnson Medical School, Class of 1994
kuntz@umdnj.edu			(H) 908-463-7170
[Computer scientist for Bell Labs in a former life (before Med. School)].
Technical Details
Message-ID: <1475@rwja.umdnj.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!gatech!psuvax1!rutgers!rwja!kuntz

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!gatech!psuvax1!rutgers!rwja!kuntz
From: kuntz@rwja.umdnj.edu (Ralph Kuntz)
Newsgroups: comp.windows.ms.programmer,comp.lang.c++,comp.os.ms-windows.programmer.misc
Subject: HELP?: "Smart" scrolling in BC++ ObjectWindows
Message-ID: <1475@rwja.umdnj.edu>
Date: 26 Jul 92 18:47:55 GMT
Followup-To: poster
Organization: Robert Wood Johnson Medical School, Piscataway NJ
Lines: 22