how can I send an AC_CLOSE message to all open desk accessories?
I want to do that in my application at the point when it executes another program. The Atari desktop does so before starting a program and e.g. the Gemini desktop does so, too.
We are not talking about multitask environments.
Is there any chance to get the IDs of running accessories from AES to send them messages? appl_find() needs a certain file name. Or do I really have to check the root directory of the boot drive for all "*.ACC" and "*.CPX" files?
I am running TOS 2.06 on my Mega STE and recognized that active accessories remain open after starting another program, but they don't receive a WM_REDRAW message. Because of that, they appear as a box filled with desktop background.