-
is AutoRedraw dead?!
I was looking for AutoRedraw property on the Form, but sounds like it has been vanished:(
Any other way of doing autoredraw? I'm drawing lots of little pictures( about 140) on my form, and if I want to redraw everything when Form_Paint fires, it will slow down the app too much...
what can I do? (should I give up?:p)
-
you can use the Refresh method now
-
hmm, are you SURE that works?
Because I'm drawing a picture on the form, I created a button that REFRESHES the form. If I click it, it will just erase the whole form, it doesn't work like autoredraw:rolleyes:
-
hmmm... try the Update() method. i bet that's it.
-
to mimic autoredraw you should keep a bitmap in memory to draw onto. whenever you need to redraw your form you simply copy the area to redraw (see for cliping region) from your bitmap to your form. this is not that hard to implement and is even more efficient then autoredraw.
maybe got through this:
http://www.gotdotnet.com/team/window...spainting.aspx
best regards
Sascha
-
tnx Psychotron, but that didnt work :)
I guess I'm gunno go with what Sascha suggested
tnx:)