C
CroDude
Hi all!
I've made a simple control derived from a panel class which draws gradient
in a overrided OnPaintBackground event.
Well, I know that I need to redraw control when it's resized by overriding
OnResize event, but
how would I know when to redraw if, let's say, user drags some form over it
or some other action that messes display of this control.
I'm stuck here ... what to do?
Thanks in advance! Take care!
D.
I've made a simple control derived from a panel class which draws gradient
in a overrided OnPaintBackground event.
Well, I know that I need to redraw control when it's resized by overriding
OnResize event, but
how would I know when to redraw if, let's say, user drags some form over it
or some other action that messes display of this control.
I'm stuck here ... what to do?
Thanks in advance! Take care!
D.