Robert
Robert

Reputation: 6226

Controls Disappearing

I'm doing a wpf project on a windows embedded standard sp3 operating system and I noticed that occasionally controls disappear or parts of it go missing. This can only be reproduced when using the xp embedded machine so it may have something to do with the drivers or operating system. I thought it might have been related to using the aero theme, but the issue still persists even though it was completely removed. In the screenshot below there should be two buttons under the "24" button but they disappeared for some reason. You can see part of the control being partially rendered. I have also seen text boxes cut in half and progress bars not being rendered properly. Has anyone seen this issue?

alt text

Upvotes: 0

Views: 957

Answers (2)

Robert
Robert

Reputation: 6226

Turns out this happened because I was using the Blur effect on the styling of each of the buttons which the hardware could not handle properly.

Upvotes: 1

Hans Passant
Hans Passant

Reputation: 942348

Standard bat-signal sign of violating threading requirements. Don't mess with controls in a worker thread.

Upvotes: 2

Related Questions