int setCtlDefVal(int n, int val)
Returns false if the control number is out of range or not in use, true otherwise.
Sets the default value for the control when the user double clicks its text label.
// DefVal sets the double-click default value ctl[0]: STANDARD, "Control 0", DefVal=192 // Val sets the initial control value ctl[1]: STANDARD, "Control 1", Val=0 OnFilterStart: { // Double click on the text of Control // 1 to set to the default value of 128 setCtlDefVal(1, 128); return true; }