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

Developer

API Reference

IDATECTL_HANDLEEVENT()

Brew Release
Brew MP 1.0.2
See Also
Events IDateCtl IDATECTL_EnableCommand
Description
This function is used to handle the events received by the date control object. A date control object handles events received by it only if it is active. The events processed by the date control object are by the pressing of UP, DOWN, LEFT and RIGHT keys. If command sending is enabled for the date control object, upon receiving event generated by the press of the SELECT key, it sends the command specified by IDATECTL_EnableCommand function as command event to the active applet.
Params
pIDateCtl
[]:
pointer to the IDateCtl Interface object.
evt
[]:
event code.
wp
[]:
[AVK_UP|AVK_DOWN|AVK_LEFT|AVK_RIGHT|AVK_SELECT
dwp
[]:
key symbol string corresponding to the key type specified by wp.
Interface
  • IDATECTL
Prototype
  •     boolean IDATECTL_HandleEvent
        (
          IDateCtl * pIDateCtl,
          AEEEvent evt,
          uint16 wp,
          uint32 dwp
        );
    
Return
  • TRUE: if the event was processed by the date control. FALSE: if otherwise.
Side Effect
  • None.
Comments
None