Question:
I used the following standard code to hide my application from the taskbar in the initialization part of the program:
ShowWindowAsync(Application.Handle, SW_HIDE);
Application.ProcessMessages;This code works fine in Win 95/98. If the same app is run on Win ME, a 'ghost button' on the taskbar appears after the a running screen saver is closed. Why is that?
Answer:
This is a bug in Windows. It strikes when an application having a full-screen window open is closed.
Hiding, minimizing or just resizing the window smaller before the app is closed usually solves the problem.