chris128
Jun 24th, 2009, 04:53 AM
OK so I've been developing an instant messenger style program (to help me learn WCF) and I've been using WPF to create the client side GUI. I've been testing it on my Vista machine which is a pretty decent spec but now that I have come to run it on an XP machine at work that is fairly slow, I have problems with the way the app draws itself when it loads. This is how it is supposed to look:
http://i135.photobucket.com/albums/q160/chriswright128/working.jpg
and this is how it looks SOMETIMES when I load it on my XP machine (The green bits are where my desktop background is showing through it, which obviously shouldnt be happening)
http://i135.photobucket.com/albums/q160/chriswright128/broken.jpg
The strange thing is that like I said, this only happens sometimes. I can run the app 10 times in a row and probably 6 or 7 of those times it will look all weird like in that screenshot but the other 3 times it looks fine.
One thing to note is that I am using an animation to show the window (the animation just increases the scale from 0 to 1), as you can see I am using a transparent window with my own border inside it that looks like a window, so that I can have my own window chrome and shape. Im assuming that the animation and the transparent window have got something to do with it but I would of thought there shouldnt be any problems with that...
Any ideas?
Cheers
Chris
http://i135.photobucket.com/albums/q160/chriswright128/working.jpg
and this is how it looks SOMETIMES when I load it on my XP machine (The green bits are where my desktop background is showing through it, which obviously shouldnt be happening)
http://i135.photobucket.com/albums/q160/chriswright128/broken.jpg
The strange thing is that like I said, this only happens sometimes. I can run the app 10 times in a row and probably 6 or 7 of those times it will look all weird like in that screenshot but the other 3 times it looks fine.
One thing to note is that I am using an animation to show the window (the animation just increases the scale from 0 to 1), as you can see I am using a transparent window with my own border inside it that looks like a window, so that I can have my own window chrome and shape. Im assuming that the animation and the transparent window have got something to do with it but I would of thought there shouldnt be any problems with that...
Any ideas?
Cheers
Chris