|
| ExecuteMainThread & MultitaskRedraw |
| Iniciado por guest, 28,ene. 2015 10:00 - 2 respuestas |
| |
| | | |
|
| |
| Publicado el 28,enero 2015 - 10:00 |
| Please could someone to explain me popularly what are subjected functions and where can I use them? |
| |
| |
| | | |
|
| | |
| |
| Publicado el 28,enero 2015 - 15:55 |
Hi Arekusei,
EecuteMainThread() is used when you must call a procedure of the main application thread via a thread. It is required when interacting with the interface (GUI).
MultitaskRedraw() is called from a process in the main application thread when it loops for long and blocks windows messages but you still want to refresh the interface. Like looping 200 folders and copying files. The loop blocks everything but you still can refresh the progress bar. It's not called from a thread since thread cannot interact with the main interface and are not blocking the main application.
Best regards, Alexandre Leclerc |
| |
| |
| | | |
|
| | |
| |
| Publicado el 29,enero 2015 - 07:55 |
| Alexandre, thank you for detailed response. |
| |
| |
| | | |
|
| | | | |
| | |
|