
I'm working on a dialog to display a type of chart. If there are a lot of data points, the display will become dense, and the user will want to zoom in for a closer look. To support this I need an owner-draw child control with a virtual space, viewport and scrollbars -- like a CWnd equivalent of CScrollView. I figured I could easily find such a thing, or whip one up using scroll functions of CWnd. Days pass. I didn't find one. I now have a solution which is simple but took some work, so I thought I'd put it out here in case it might save time for someone else.
|