DtvLong dal_but_set_buf (idb, buf)

Fills the button area buffer.

Input Parameters Significance
DtvLong idb button area Id
char *buf buffer string

Output Parameters Significance
none -

Return Code Significance
0 all ok
1 zero pointer

The button area buffer is some user-configurable memory for the button area and is used to support programming. In the buffer you can, for instance, pass status information or other object-specific information you need during life-time of the button area.

This function creates a copy of the passed string in the button area buffer. The buffer can have any size and is empty after the button area has been created.

The function automatically invoke any set Button listener function.