M
Mark Johnson
Using: VS 2003 NET C# for Framework and Framework Compact
Trying : Moving a Card (Bitmap) as in Solitare (PC + WinCe) Version on
OnMouseMove
Problem : The affected drawing Area by Invalidate (or Invalidate(Rectangle))
flickers in a nasty way when repainting.
This does not happen in the Solitare (PC + WinCe) Versions a well as in a
Card game where I have the C++ Source.
The use of an empty OnPaintBackground brings no visable results.
The OnPaint calls a Method, which builds a new Bitmap with a local Graphics.
When finished OnPaint does one DrawImage Command (flicker).
OnPaint is painting to a Panel.
Is this a Framework problem ?
Can a flicker free Painting only be done with some sort of Win-API.
- Goal is for this Class to run with the same code on both Systems.
If yes, what would it look like inside a Framework program ?
This seems to the last major problem (as of yet) that I have in realising a
game programm
and it would be very nice if this problem could be solved.
Thank you for any help
Mark Johnson, Berlin Germany
(e-mail address removed)
Trying : Moving a Card (Bitmap) as in Solitare (PC + WinCe) Version on
OnMouseMove
Problem : The affected drawing Area by Invalidate (or Invalidate(Rectangle))
flickers in a nasty way when repainting.
This does not happen in the Solitare (PC + WinCe) Versions a well as in a
Card game where I have the C++ Source.
The use of an empty OnPaintBackground brings no visable results.
The OnPaint calls a Method, which builds a new Bitmap with a local Graphics.
When finished OnPaint does one DrawImage Command (flicker).
OnPaint is painting to a Panel.
Is this a Framework problem ?
Can a flicker free Painting only be done with some sort of Win-API.
- Goal is for this Class to run with the same code on both Systems.
If yes, what would it look like inside a Framework program ?
This seems to the last major problem (as of yet) that I have in realising a
game programm
and it would be very nice if this problem could be solved.
Thank you for any help
Mark Johnson, Berlin Germany
(e-mail address removed)