If I have a query that takes some time I want to show a loading window with an animated image. In the past I've done it with gifs similar to how DW describes in the post below.
[27130.foren.mysnip.de]
The problem is that this way causes the windows taskbar to display above our fullscreen app when the thread runs. Also, it causes random crashes from time to time. Probably because "A secondary thread cannot directly open a window with the standard WLanguage functions such as: Open, Use, ..." (Source) Using ExecuteMainThread() doesn't work either. The animation is still blocked by whatever WinDev code/query is running.
[27130.foren.mysnip.de]
The problem is that this way causes the windows taskbar to display above our fullscreen app when the thread runs. Also, it causes random crashes from time to time. Probably because "A secondary thread cannot directly open a window with the standard WLanguage functions such as: Open, Use, ..." (Source) Using ExecuteMainThread() doesn't work either. The animation is still blocked by whatever WinDev code/query is running.