G
Guest
Hi there,
I have a custom control which i want it to draw ina rectangle a picture and
i have two buttons to do zoom in and zoomm out.
I want that when i click on one of these buttons make a zoom on the drawing
to see with more detail a region of it and scrollbars appear in the sides of
teh control to navigate through the image.
I have derived my control from Scrollablecontrol becuase i jave read that
this is the way to acomplish the use of scrollbars but i cant see the way of
making the virtual "clientrectangle" smaller than the display rectangle
without actually resizing the control.
Anyone knows some book that explains how to acomplish this?or knows how to
do this? thanks.
I have a custom control which i want it to draw ina rectangle a picture and
i have two buttons to do zoom in and zoomm out.
I want that when i click on one of these buttons make a zoom on the drawing
to see with more detail a region of it and scrollbars appear in the sides of
teh control to navigate through the image.
I have derived my control from Scrollablecontrol becuase i jave read that
this is the way to acomplish the use of scrollbars but i cant see the way of
making the virtual "clientrectangle" smaller than the display rectangle
without actually resizing the control.
Anyone knows some book that explains how to acomplish this?or knows how to
do this? thanks.