Flickering screen when minimizing
-
Hey My program has a lot of controls on the main form and when minimizing it the screen flickers for a couple of seconds. Anyone know how to stop this? Thanks
-
Hey My program has a lot of controls on the main form and when minimizing it the screen flickers for a couple of seconds. Anyone know how to stop this? Thanks
After the call to InitializeComponent in the main form, add the following line:
SetStyle(
ControlStyles.AllPaintingInWmPaint |
ControlStyles.UserPaint |
ControlStyles.DoubleBuffer,true);"WPF has many lovers. It's a veritable porn star!" - Josh Smith
As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
-
After the call to InitializeComponent in the main form, add the following line:
SetStyle(
ControlStyles.AllPaintingInWmPaint |
ControlStyles.UserPaint |
ControlStyles.DoubleBuffer,true);"WPF has many lovers. It's a veritable porn star!" - Josh Smith
As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
It's solved it, thanks.
-
It's solved it, thanks.
You're welcome.
"WPF has many lovers. It's a veritable porn star!" - Josh Smith
As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.