L
Logan
I am writting an application in C# that draws a square under your mouse
whenever you move it. I created a graphics object of the "desktop" and i
can draw on it without problem but i can't figure out how to erase the old
boxes when the mouse is moved. I imagine there must be a way to invalidate
a rectangle of a graphics object but i haven't found a way.
Thanks in advance,
~Logan
Here is the code i use to get the graphics object for the "desktop"
whenever you move it. I created a graphics object of the "desktop" and i
can draw on it without problem but i can't figure out how to erase the old
boxes when the mouse is moved. I imagine there must be a way to invalidate
a rectangle of a graphics object but i haven't found a way.
Thanks in advance,
~Logan
Here is the code i use to get the graphics object for the "desktop"