I'm having a bit of difficulty figuring out which event is related to "having your control covered by another window and then having it uncovered". I thought at first it would be the Invalidated event because my understanding is that if there's a portion of the control that needs redrawing that event is fired. I tried doing a call to Invalidate() during that event. Of course, you can see that the logic is circular. It gets invalidated, so you invalidate it again to redraw it, which invalidates it. Needless to say, it didn't work.
I should probably mention the following:
-Whatever I'm trying to draw is dynamic, sort of like a graph. Before drawing it, the lines and bars that make up the graph have to be calculated.
-The control that I want redrawn is a child control of a parent control, not the actual form itself.
Thanks.
I should probably mention the following:
-Whatever I'm trying to draw is dynamic, sort of like a graph. Before drawing it, the lines and bars that make up the graph have to be calculated.
-The control that I want redrawn is a child control of a parent control, not the actual form itself.
Thanks.