OnDraw how to get the invalidated area...
-
Hi, I have one application that every time that needs to draw calls a thread to do it ( it has a very sllow drawing proccess some graphical shits...). The problem that I have is..., How can I know what is the invalidated portion ? ( now when I call the thread it repaints all and it's very slow, I would like to know if it is only a portion of a window to redraw...), Is anyway to know this ? Thanks, Bye ! Braulio
-
Hi, I have one application that every time that needs to draw calls a thread to do it ( it has a very sllow drawing proccess some graphical shits...). The problem that I have is..., How can I know what is the invalidated portion ? ( now when I call the thread it repaints all and it's very slow, I would like to know if it is only a portion of a window to redraw...), Is anyway to know this ? Thanks, Bye ! Braulio
check out CDC::GetClipBox Chris ================== The original message was: Hi,
I have one application that every time that needs to draw calls a thread to do it ( it has a very sllow drawing proccess some graphical shits...).
The problem that I have is..., How can I know what is the invalidated portion ? ( now when I call the thread it repaints all and it's very slow, I would like to know if it is only a portion of a window to redraw...), Is anyway to know this ?
Thanks, Bye !
Braulio