Enables a smart way to refresh the window to reduce the flickering when resizing the window. If the window isn't resizable, the function isn't needed. This function just try to help with the flickering problems, but it won't always give good results. The only way to see if it will work for a specific window is to enable it, see if there is any difference and see if the window content isn't trashed when a resize is done.
#Window The window to use. State It can be one of the following value:#True : smart refresh is enabled #False: smart refresh is disabled