CScrollView.. strange effect
-
Hi, I have two views of CScrollView type open with tile effect. I set SetScrollSizes(MM_TEXT, sizeTotal) . In first view I scroll and get the view to the area which should not be visible in second view. then I start drawing my graphic objects. I draw lines rectangle in one view and then call UpdateAllViews on document. To my horror, I saw the graphic elements in other view too of same dimension. relative offsets of these objects are same in both views from their top left corner or say bottom right corner. Update on both view causes both all graphic objects to be drawn all overlapped just like second view. They are not visible in the scrolled area. Are these getting drawn in screen coordinates? Here which dunction need to be used.. screen to client.. how to have correct effect. (mapping mode I am using is MM_TEXT) Leya