Re: How Window Handles invalidate
Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance
Have a look at the InvalidateRect(), InvalidateRgn() and RedrawWindow()
calls.
"rino" <rino@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:FBAFB0FF-408A-4772-99A5-8AB6072500EC@xxxxxxxxxxxxxxxx
can anyone tell me how windows manages the z ordering and how windows
knows
to invalidate a specific rectangle in the window , doing it efficienlty.
My
question is a problem I am trying to solve. I am trying to create an
editor
where you can add different ui items , shapes etc. And I want to know the
best way to implement an Undo function without having to repainnt the
whole
window but only the specific region where I did the undo.
thanks.
.
Relevant Pages
- Re: how to minimize processing when repainting
... >>entire window to be repainted. ... But if it's a lot of work to repaint the ... >>instead you call InvalidateRect() with only the small rectangle that needs to ... (microsoft.public.win32.programmer.gdi) - Re: how to minimize processing when repainting
... >entire window to be repainted. ... But if it's a lot of work to repaint the ... >instead you call InvalidateRect() with only the small rectangle that needs to ... (microsoft.public.win32.programmer.gdi) - how to minimize processing when repainting
... entire window to be repainted. ... But if it's a lot of work to repaint the ... instead you call InvalidateRect() with only the small rectangle that needs to ... (microsoft.public.win32.programmer.gdi) - Re: Flickerproblem on some machines
... InvalidateRect on a window the window receives a WM_ERASEBKGND message ... you will have to take a snapshot of what is going to be behind the header, ... before you draw the header, now when you want to draw the header, instead of ... (microsoft.public.vc.mfc) - Re: InvalidateRect Pinvoke and C#
... You refresh a rectangle by specifying the client coordinates ... of that portion of your window that you wish to update ... using a RECT structure passed to InvalidateRect. ... (microsoft.public.dotnet.framework.drawing) |
|