DisableMSEvent

Halts dispatching for one event.

Synopsis

void DisableMSEvent(MSEventData *theEvent, int32 reserved)

Description

This function temporarily disables dispatching of the specified event. If a message or signal is pending at the time this function is called that fact is remembered and the event will be dispatched after it is re-enabled. You can safely call this from within the handler for the event being disabled, or from a handler for another event being controlled by the same MSEventData array.

Arguments

theEvent
Pointer to the element of the MSEventData array that describes the event to disable.
reserved
Reserved for future expansion; pass zero.

Implementation

Library call implemented in lib3do.lib.

Associated Files

lib3do.lib, msgutils.h

See Also

EnableMSEvent