How to make form to not invalidate, erase and repaint it

Hi, I need my form not to repaint under direct draw...
Have you some advice
thx

Answer this question

How to make form to not invalidate, erase and repaint it

  • Chittesh

    Why don't you want it to repaint itself If you're doing the painting yourself, you can do that in your paint message and you can use SetStyles to make all painting occur in the paint message, that should place all painting under your control. You may also overload EraseBackground and return true ( that you've handled it ).



  • ghostman

    yes, thanks, override erasebackground can help me...

  • How to make form to not invalidate, erase and repaint it