vsspro
July 5th, 2007, 07:59 PM
Hi,
I am working in a project which needs to do different sorts of things with bitmaps.I have to zoom in and zoom out and also I have to scroll a bitmap if it is larger than window dimensions .
My problem is with scrolling.I am not able to find the max value and it is scrolling past the bitmap which makes my program halt in a bad way.can anyone give me the solution.
Thanks.
I am working in a project which needs to do different sorts of things with bitmaps.I have to zoom in and zoom out and also I have to scroll a bitmap if it is larger than window dimensions .
My problem is with scrolling.I am not able to find the max value and it is scrolling past the bitmap which makes my program halt in a bad way.can anyone give me the solution.
Thanks.