Some questions
Reinhard Pagitsch
rprp at gmx.net
Sun Jul 1 08:09:17 PDT 2007
Hello everybody,
First I have to say I am new on wxwidgets. I use version 2.8.3.
If there is a better group for my questions please tell me or make a
follow up.
Ok, now to my questions:
I am currently working on a little ball game. With the mouse I move the
"hitter" and with a timer I move the ball around the frame.
I read that I have to use wxPaintDC in the OnPaint event and outside the
wxClientDC.
I tried to move the ball outside of the OnPaint function but there I
have the problem that the ball have traces. Now I put the paint of the
ball also into the OnPaint function and it seems that it works, but only
it seems. If I comment the function out which clear the previous painted
ball there is also no trace of the ball.
But now I got an error message: "DAMAGE: after normal block (#1288) at
0x00F8D998"
This message occurs if I exit the application.
Can anyone tell me how the best way to display an image which will be
moved around the frame with a timer and what the problem with this error
message is? Maybe someone have some code samples about it?
Thank you,
Reinhard
--
Antworten bitte nur an rpirpag at aon punkt at
Die Adresse im From/Replay to ist als Spamfänger gedacht und wird nicht
gelesen.
Please Visit: http://members.aon.at/rpagitsch/
More information about the wx-users
mailing list