D
Dino Buljubasic
Hi,
I am using C# 2.0 (VS2005) to build my user control that contains a
number of dynamically loaded ListViews. ListViewItems have their
ForeColor properties set to either black or blue to distinguish
between ListViewItems.
As long as no other application window (i.e. word or calculator, or
....) goes over my running form, ForeColor properties or each
ListViewItem stays black or blue as intended.
However, if another application window moves over my running form and
the ListViewItems, or if my form is maximized, the ListViewItems that
were covered by other window or invisible change their ForeColor to
black (ForeColor changes to black).
I use protected overloaded OnSizeChanged event to handle resizing my
user control as:
protected override void OnSizeChanged(EventArg e)
{
base.OnSizeChanged(e);
reloadUserControl();
}
This event calls first base.OnSizeChanged(e) event, then handles
redrawing and reloading of my user control. I have not identified any
other problems except this one.
Any Help Will Be Appreciated,
_dino_
I am using C# 2.0 (VS2005) to build my user control that contains a
number of dynamically loaded ListViews. ListViewItems have their
ForeColor properties set to either black or blue to distinguish
between ListViewItems.
As long as no other application window (i.e. word or calculator, or
....) goes over my running form, ForeColor properties or each
ListViewItem stays black or blue as intended.
However, if another application window moves over my running form and
the ListViewItems, or if my form is maximized, the ListViewItems that
were covered by other window or invisible change their ForeColor to
black (ForeColor changes to black).
I use protected overloaded OnSizeChanged event to handle resizing my
user control as:
protected override void OnSizeChanged(EventArg e)
{
base.OnSizeChanged(e);
reloadUserControl();
}
This event calls first base.OnSizeChanged(e) event, then handles
redrawing and reloading of my user control. I have not identified any
other problems except this one.
Any Help Will Be Appreciated,
_dino_