I have an MDI application in vc++. In the view i have a splitter wnd in

which the top view is CScrollView and he bottom view is CRichEditViw.
In the top view i can draw the lines which represent Music. we can
change the size of the lines by providing a zoom option with 10 to 200
% in a combobox in the Toolbar. for this i want to implement a feature
"Fit Window" which fits the drawing to the visible area only.


Please provide me your ideas and help me. i will be waiting for ypur
re[ly.hope you will respond to me soon