DtvLong dal_but_loc_sel (idb, pos)

Locks the button at the specified position in the button area passed.

Input Parameters Significance
DtvLong idb button area Id
DtvLong pos (logical) position of the button

Output Parameters Significance
none -

Return Code Significance
0 all ok
1 wrong (logical) position
-1 zero Id

Locked buttons cannot be selected.

The function automatically invoke any set Button listener function.