J
JoshVote
Hi,
Currently I am developing for Windows CE 5.0 using .NET CF 2.0.
I have a custom control that displays a subset of a long (vertically)
bitmap. The user is able to touch their stylus on this bitmap and drag up /
down to visually drag the image up / down so they can explore the length of
the image.
The problem is that as the image redraws onto the screen during a scroll, a
degree of visual tearing occurs and its quite visually distracting. Is there
anyway to counteract this? (Ie enabling VSync or equivalent using .NET or is
this something that should be done via the graphics driver?)
The drawing is done by overriding the OnPaint base method of the control
class and using the Graphics DrawImage function.
I'm quite new to .NET graphics so apologies in advance if I'm missing
anything glaringly obvious.
Currently I am developing for Windows CE 5.0 using .NET CF 2.0.
I have a custom control that displays a subset of a long (vertically)
bitmap. The user is able to touch their stylus on this bitmap and drag up /
down to visually drag the image up / down so they can explore the length of
the image.
The problem is that as the image redraws onto the screen during a scroll, a
degree of visual tearing occurs and its quite visually distracting. Is there
anyway to counteract this? (Ie enabling VSync or equivalent using .NET or is
this something that should be done via the graphics driver?)
The drawing is done by overriding the OnPaint base method of the control
class and using the Graphics DrawImage function.
I'm quite new to .NET graphics so apologies in advance if I'm missing
anything glaringly obvious.