K
Kam
Hi everyone,
I've finally managed to zoom in and out an image painted on a Panel.
However, i'm
having a problem with the scrollbar in my Pocket PC. I can't get the exact
size to scroll.
Firstly, the picture get painted on the panel, and then to get the width or
the height of
the scrollbar i have developed the following metric:
(WidthOfBitmap * TheScale(1,2,3...etc)) - WidthOfPanel +
TheSizeOfTheScrollBar(e.g.10)
However, I always end up with the wrong size.. It's not a liner so at least
I would know how much I have to increase the scrollbar size everytime I zoom
in...
any idea, links, tutorial, sample would be very much appreciated..
Thanks in advance
Kam
I've finally managed to zoom in and out an image painted on a Panel.
However, i'm
having a problem with the scrollbar in my Pocket PC. I can't get the exact
size to scroll.
Firstly, the picture get painted on the panel, and then to get the width or
the height of
the scrollbar i have developed the following metric:
(WidthOfBitmap * TheScale(1,2,3...etc)) - WidthOfPanel +
TheSizeOfTheScrollBar(e.g.10)
However, I always end up with the wrong size.. It's not a liner so at least
I would know how much I have to increase the scrollbar size everytime I zoom
in...
any idea, links, tutorial, sample would be very much appreciated..
Thanks in advance
Kam