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

Developer

API Reference

CTLVALCHANGE

Brew Release
Brew MP 1.0.2
See Also
Description
This data structure is passed as dwParam along with the event EVT_CTL_CHANGING. This event is sent to the application when a specific control is changing. This allows the application to redraw any portions of the screen.
Members
  • pc :  pointer to the control that is changing.
  • dwParam :  This is control-specific data. In the case of the ITimeCtl 
    	           interface, this specifies the current time in milliseconds.
  • bValid :  parameter that can be set by the application on returning 
    	          from this event. If bValid is set to FALSE by the application, 
    			  the control will not be redrawn based on the new value
Definition
  •  typedef struct _CtlValChange {
        IControl * pc;
        uint32 dwParam;
        boolean bValid;
     } CtlValChange;
    
Comments
This event is sent by specific controls only; for example, TimeCtl. See the specific controls for more information on this event