
To mitigate a possible crash, I have added PerformanceOptions_RESTORE in App.UnhandledException and App.Close. So to be complete would probably require tracking the mouse movements in System with a timer. So Performances_OFF cannot take place since MouseMove does not occur. Problem is, there are cases when the cursor has not yet entered the window but still the bidirectional arrow cursor appears. Then PerformanceOptions_RESTORE when the mouse gets back within the window. I tried to go PerformanceOptions_OFF in MouseMove when the mouse cursor gets within 1 pixel of the window’s edge or more, instead of in Activate. I know it’s been a while, but just to be complete. Restoring is fine, but what if your app crashes? I’d be wanting to do that at the point when a window started to be resized, and undone at the end. Let me know if it works for you or not, Thanks!

In the above sample project you find a module which you may want to test with your Windows projects. It looks like switching OFF some animation and disabling Full Window Drag helps quite a bit to make the flicker less disturbing.īy using declares, it is possible to switch these options on and off.
