I don't know what the size of the queue is, and if it's not documented,
then I wouldn't want to know and risk being sensitive to its changing. Nor
would I want to be senstive to other actions that might fill the event
queue.
If I understand your workaround, I think that's what I'd do. Post an event
and then set a state variable saying what event I just posted. Then, when I
handled the event, check the state variable to know what the next type of
event to post is.
-- Keith
"Michael S. Davis" <[EMAIL PROTECTED]> on 04/12/99 11:06:05 AM
Please respond to [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
cc: (Keith Rollin/HQ/3Com)
Subject: Event Queue: How large?
I was adding events to the queue and got a warning (error)
saying that the queue was full. How many events can be
queued?
My workaround was to add one event then add one additional
event to the queue, each time through the event handler. Is there a
better way?
----------------------------------------------------
Shoot-to-Win
Protect the 2nd Amendment
----------------------------------------------------