could someone point me in the right direction? knowledge base wouldn't
pop-up, and i couldn't find this topic in the digests lately.
i want to queue an event to happen several times in a row. i've
successfully used EvtAddEventToQueue( EventPtr) to append events to the
Event Queue, but only the first of the events occurs. my loop iterates
correctly, and a different pointer value is assigned to each event enqueued.
is there some formality i'm missing? do i need to set values for penDown,
screenX, or screenY? it would be nice to be able to examine the event queue
at run-time.
for( i=0; i < n; i++)
{
pNewEvent = MemPtrNew( sizeof( EventType) );
pNewEvent->eType = menuEvent;
pNewEvent->data.menu.itemID = 1400;
EvtAddEventToQueue( pNewEvent);
// assumed pNewEvent is deleted from queue when event removed
}
Gary Miller
Consultant, CIBER Inc.
(703) 610-6564
[EMAIL PROTECTED]