home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.windows.ms.programmer:7367 comp.lang.c++:11575 comp.os.ms-windows.programmer.misc:1022
- Path: 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
-
- 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)].
-