J
John Rugo
Hi All,
I am using VB.NET and GDI+ to handle Gradient Brush effects.
I am using this for both Labels and Buttons.
For the buttons I am changing the colors based on the mouse position of the
buttons to highlight it. Similar to Outlook 2003 buttons on the lower left,
if anyone's familiar with that. The problem is that when a form moves over
these buttons the GDI effects of the buttons it moves over is changed to the
mouse over color. And not just the entire button but only the portion of
the objects that got covered by the foreground object.
I've tried randomly coding the objects, including the form, to be
InValidate'ed in various events but it has no effect.
Has anyone ran into this situation and/or solved it?
Thanks,
John.
I am using VB.NET and GDI+ to handle Gradient Brush effects.
I am using this for both Labels and Buttons.
For the buttons I am changing the colors based on the mouse position of the
buttons to highlight it. Similar to Outlook 2003 buttons on the lower left,
if anyone's familiar with that. The problem is that when a form moves over
these buttons the GDI effects of the buttons it moves over is changed to the
mouse over color. And not just the entire button but only the portion of
the objects that got covered by the foreground object.
I've tried randomly coding the objects, including the form, to be
InValidate'ed in various events but it has no effect.
Has anyone ran into this situation and/or solved it?
Thanks,
John.