E
Ed
Hi there,
I have been using the c# code in the article in the link below in several
apps.
http://www.vbaccelerator.com/home/net/Code/Libraries/Windows/MDI_Client_Area_Painting/article.asp
It is a mechanism for showing a nice background gradient and some text on
the background of a MDI shell form.
It has one problem: when moving an external window above the shell area, it
is not always repainted painted correctly, resulting in ugly stripes in the
background. An example of this can be seen here:
http://esonn.home.xs4all.nl/mdiproblem.jpg
The problem only occurs in when visual themes are _not_ used in Windows. It
happens in XP to 7.
The code itself is a bit over my head. I tried contacting the author, but to
no avail. I have tried several things with the code, but I haven't got it
right.
In the first link a small example project can be downloaded.
Anybody got a hint how this could be solved?
Regards, Ed
I have been using the c# code in the article in the link below in several
apps.
http://www.vbaccelerator.com/home/net/Code/Libraries/Windows/MDI_Client_Area_Painting/article.asp
It is a mechanism for showing a nice background gradient and some text on
the background of a MDI shell form.
It has one problem: when moving an external window above the shell area, it
is not always repainted painted correctly, resulting in ugly stripes in the
background. An example of this can be seen here:
http://esonn.home.xs4all.nl/mdiproblem.jpg
The problem only occurs in when visual themes are _not_ used in Windows. It
happens in XP to 7.
The code itself is a bit over my head. I tried contacting the author, but to
no avail. I have tried several things with the code, but I haven't got it
right.
In the first link a small example project can be downloaded.
Anybody got a hint how this could be solved?
Regards, Ed