On 12/24/2014 11:57 AM, Michael Doub wrote:
I have tried that but I need to process the resumeStack message which
seems to get called as part of the startup process.

Resumestack shouldn't be sent normally when a stack opens. There's a difference between starting up a standalone and starting the IDE though; it may be that some of the IDE stacks need to deal with resumestack. But your own stack shouldn't need to.

I guess I have to
manually set a global flag and have the timed handler unblock the
flag.   What is the very first handler that an application can process?
Startup?

Again, it depends. In a standalone the first message is startup. The stack isn't fully loaded at that point so you can't manipulate stack or card objects yet but you can set global properties there.

But in the IDE, LiveCode itself catches the startup message and your stack will never receive it. The first message your stack will get is preOpenStack.


Is there an ordered list of messages that are fired for startup and
opening a stack?  Opening a card would be useful too.   I can't say that
I have ever seen this anywhere in the documentation.

It follows the normal message path in reverse, starting with the stack messages followed by background group messages and then card messages. If there are card groups on the first card, they get sent last.

--
Jacqueline Landman Gay         |     jac...@hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to