Move out function executions from UI thread
Posted: 2007-06-30, 08:03 UTC
Hi,
When I hit the space on a large directory to calculate the sum of file size, it freezes the UI. Or other blocking operations, like local network discovery, accessing large directories local or remotely or loading exe icons in the presence of an antivirus software, etc.
Is it possible to move out these processes from the UI thread and instead of frozen window, pop up a modal dialog with a progress bar and some details (count of loaded files, file size this far etc.) and a Cancel button?
When I hit the space on a large directory to calculate the sum of file size, it freezes the UI. Or other blocking operations, like local network discovery, accessing large directories local or remotely or loading exe icons in the presence of an antivirus software, etc.
Is it possible to move out these processes from the UI thread and instead of frozen window, pop up a modal dialog with a progress bar and some details (count of loaded files, file size this far etc.) and a Cancel button?