Group: Awaiting Activation
Posts: 592,
Visits: 3.7K
|
By using multiple programming tricks I've found on the internet, I've managed to get the more complex forms in my application to display crisply without any screen flicker. However I haven't been able to resolve an issue when restoring a minimized window. If I restore the window by clicking on the minimized item in the Windows task bar, it restores smoothly without any visible screen painting. However if I restore the same form in code by setting WindowState = FormWindowState.Normal I get some annoying rendering action. Parts of the form go black while it is being restored. Windows obviously knows something about restoring a minimized window that I don't. Is there another/better way besides setting WindowState?
|