Thread View: comp.windows.ms.programmer
1 messages
1 total messages
Started by Ralph Kuntz
Sun, 26 Jul 1992 18:47
HELP?: "Smart" scrolling in BC++ ObjectWindows
Author: Ralph Kuntz
Date: Sun, 26 Jul 1992 18:47
Date: Sun, 26 Jul 1992 18:47
22 lines
1273 bytes
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)].
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads