I'm creating a control very similar to the ListView in Details mode. I want my control to show scroll bars when there are items outside of the current viewable region (standard affair). However, is there any way to tell the system that there are items outside of current view BESIDES painting the entire contents of the control? (ie, if there are 10000 items, I don't want to paint all of them!
Is there maybe a way to tell the system the size of the REGION that all the items take up? If so, how would I do it, and where? Right now I'm using the OnPaint event
Thanks
Yaron
|