StefanoCarniel
Programmer
I have a problem with an SDI application with the View class derived from CScrollView. In the main window, every time the user click the mouse I draw a point.
Then I use the horizontal scroll bar to reach the right margin of the window and the go back to the left margin, but the previous point are lost. To have the correct picture again I have to resize the window. In the OnPaint function I wrote a cycle the draws all the point saved in an archive (using the document/view paradigma). I tried to call the OnPaint function in the OnScroll event but nothing happens.
Can you help me?
Thank you
Then I use the horizontal scroll bar to reach the right margin of the window and the go back to the left margin, but the previous point are lost. To have the correct picture again I have to resize the window. In the OnPaint function I wrote a cycle the draws all the point saved in an archive (using the document/view paradigma). I tried to call the OnPaint function in the OnScroll event but nothing happens.
Can you help me?
Thank you