How to find - which area of Window made "invalid" ?
-
-
How to find - which area of Window made "invalid" ? When else window moves over my CDialog, I need to find which area is declared as "invalid", to redraw background of appropiate childs, but nt All each time. - in OnEreaseBackground(CDC* pDC) Thanks.
GetUpdateRect(..); might be of some help to you.
MSN Messenger. prakashnadar@msn.com "If history isn't good, just burn it." - Sidhuism.
-
GetUpdateRect(..); might be of some help to you.
MSN Messenger. prakashnadar@msn.com "If history isn't good, just burn it." - Sidhuism.
-
vgrigor wrote: How to set for control another Client area ? I didnt get your question.
MSN Messenger. prakashnadar@msn.com "If history isn't good, just burn it." - Sidhuism.
-
vgrigor wrote: How to set for control another Client area ? I didnt get your question.
MSN Messenger. prakashnadar@msn.com "If history isn't good, just burn it." - Sidhuism.
-
If you have the pointer to the child window or a window handle to that child window then you can use SetWindowRect(...) to resize the window.
MSN Messenger. prakashnadar@msn.com "If history isn't good, just burn it." - Sidhuism.
-
If you have the pointer to the child window or a window handle to that child window then you can use SetWindowRect(...) to resize the window.
MSN Messenger. prakashnadar@msn.com "If history isn't good, just burn it." - Sidhuism.
-
thanks, but it is need to get size to draw as previously. But react as bigger thing. some clipRect function does not that ?
Sorry i am out of ideas :-(
MSN Messenger. prakashnadar@msn.com "If history isn't good, just burn it." - Sidhuism.
-
Sorry i am out of ideas :-(
MSN Messenger. prakashnadar@msn.com "If history isn't good, just burn it." - Sidhuism.
-
How to find - which area of Window made "invalid" ? When else window moves over my CDialog, I need to find which area is declared as "invalid", to redraw background of appropiate childs, but nt All each time. - in OnEreaseBackground(CDC* pDC) Thanks.
GetUpdateRect
/GetUpdateRgn
, depending on whether you want to deal with the full complexity of a region, or just the rectangle that contains all the invalid parts. Stability. What an interesting concept. -- Chris Maunder