Double Buffering for PocketPC
-
Hey anyone, I have a little problem with Double Buffering under Windows Mobile 2003 with C#/.NET CF In contrast to desktop computers I have no possibility too use SetStyle to let the framework do the double buffering. And when I work with bitmaps to buffer everything, it remains flickering. :( Examples from CodeProject don't work either on my pocket, I guess it's because I cannot override the UserControl's PaintBackground Event, since there is none to override. At least I have only one strong flicker instead of continous painting. :laugh: Any suggestions? Or any hint how to realize it under Windows Mobile? Thanks in advance!
-
Hey anyone, I have a little problem with Double Buffering under Windows Mobile 2003 with C#/.NET CF In contrast to desktop computers I have no possibility too use SetStyle to let the framework do the double buffering. And when I work with bitmaps to buffer everything, it remains flickering. :( Examples from CodeProject don't work either on my pocket, I guess it's because I cannot override the UserControl's PaintBackground Event, since there is none to override. At least I have only one strong flicker instead of continous painting. :laugh: Any suggestions? Or any hint how to realize it under Windows Mobile? Thanks in advance!
I do double buffering on Windows Mobile 2003 devices. It works well. Show your code and I might be able to help you.
-
Hey anyone, I have a little problem with Double Buffering under Windows Mobile 2003 with C#/.NET CF In contrast to desktop computers I have no possibility too use SetStyle to let the framework do the double buffering. And when I work with bitmaps to buffer everything, it remains flickering. :( Examples from CodeProject don't work either on my pocket, I guess it's because I cannot override the UserControl's PaintBackground Event, since there is none to override. At least I have only one strong flicker instead of continous painting. :laugh: Any suggestions? Or any hint how to realize it under Windows Mobile? Thanks in advance!
Of course you can override the PaintBackground event. protected override void OnPaintBackground(PaintEventArgs e) { // Do nothing }