D
Dino Buljubasic
HI,
I am having my user control on my form. My user control hosts a
custom build panel that gets dynamically loaded with ListView controls
when form is opened, maximized, resized.
ListViewItems of each Listview have their ForeColor properties
set to different colors and fonts.
All this works just fine. The problem occurs when I drag
another window (say I open Calculator and drag it over my form).
The problem is that when I drag the Calculator window (or any
other window) over my form, each ListViewItem ForeColor and Font does
not repaint properly (not every time).
It looks like it takes over the ForeColor and Font property of
my panel that hosts these ListViews. As I drag the other window over
my form, the Font and ForeColor of my ListViewItems get repainted
sometimes right way, sometimes not.
Also, if I drag another window over my form slowly, repainting
happens the right way.
How can I fix this?
Any holp will be appreciated,
_dino_
I am having my user control on my form. My user control hosts a
custom build panel that gets dynamically loaded with ListView controls
when form is opened, maximized, resized.
ListViewItems of each Listview have their ForeColor properties
set to different colors and fonts.
All this works just fine. The problem occurs when I drag
another window (say I open Calculator and drag it over my form).
The problem is that when I drag the Calculator window (or any
other window) over my form, each ListViewItem ForeColor and Font does
not repaint properly (not every time).
It looks like it takes over the ForeColor and Font property of
my panel that hosts these ListViews. As I drag the other window over
my form, the Font and ForeColor of my ListViewItems get repainted
sometimes right way, sometimes not.
Also, if I drag another window over my form slowly, repainting
happens the right way.
How can I fix this?
Any holp will be appreciated,
_dino_