Page 1 of 1
Redraw Problem?
Posted: 21 Feb 2011, 13:34
by Mex
Hi Timo
I have strange issue with EXLV on Win XP.(using manifest and themes)
See added screenshots
if i have exlv. on form(mdichild) and then open second form that covers first one and then close second form
the exlv. is not redrawn on first form.
It does not happen with Win7 but have it seen on XP (SP2 and also SP3)
BR;
Mex
Re: Redraw Problem?
Posted: 21 Feb 2011, 19:43
by TiKu
Hi,
how do you display the second form? Do you use Form.Show vbModal?
Do you use some special stuff like hooks or similar? Do you change the DontRedraw property? Is the ListView located inside another control like a Frame?
Regards
TiKu
Re: Redraw Problem?
Posted: 21 Feb 2011, 19:48
by Mex
Hi
Second form is also MDIChild
Form.Show
Yes i use Hook to set forms minmal size, but already tested without "hookin" - same result.
Your ListView is on my own UserControl.
problem is only under Win XP:
Found temporery solution, after closing second form i just call Refrerh on my on control.
Re: Redraw Problem?
Posted: 21 Feb 2011, 20:41
by Mex
Shame on me!
Forms ClipControls property was set to False

But how it still worked under Win7?
Thnx
Meelis
Re: Redraw Problem?
Posted: 21 Feb 2011, 21:00
by TiKu
The Aero UI of Windows Vista/7 uses a totally different approach of drawing windows than the Luna UI of Windows XP. I don't know much details about these approaches, but I know that Microsoft has changed alot.