API Reference | developer.brewmp.com API Reference | developer.brewmp.com

Developer

API Reference

ISHELL_HANDLEEVENT()

Brew Release
Brew MP 1.0.2
See Also
AEEEvent Events IShell ISHELL_SendEvent ISHELL_PostEvent
Description
This function sends one of the specified standard AEEEvent items to the currently active applet. It internally invokes ISHELL_SendEvent() with ClassID set to 0 (zero). This function can only send events in the range EVT_COMMAND to EVT_USER. It cannot send events equal to or above EVT_USER. This function is meant to be used only by user-implemented controls. For example, if a control wants to send the event EVT_CTL_TAB to the currently active application, it can use this function. Applications must generally use the function ISHELL_SendEvent() or ISHELL_PostEvent() to send events to themselves or to other specific applications.
Params
pIShell
[]:
Pointer to the IShell interface object.
evt
[]:
AEEEvent items.
wp
[]:
Event-specific, 16-bit value.
dwp
[]:
Event-specific, 32-bit value.
Interface
  • ISHELL
Prototype
  •     boolean ISHELL_HandleEvent
        (
        IShell * pIShell,
        AEEEvent evt,
        uint16 wp,
        uint32 dwp
        );
    
Return
  • TRUE : if the event was processed. FALSE : if the event was not processed.
Side Effect
  • None
Comments
The event sent must be one of the standard AEEEvent items. For example, it must be < EVT_USER; it cannot be an EVT_USER event. Use ISHELL_PostEvent() to send user events.