| Input Parameters | Significance |
| DtvLong idm | mask Id |
| char hor | flag for horizontal scroll bar [0 = no] |
| char ver | flag for vertical scroll bar [0 = no] |
| Output Parameters | Significance |
| no | - |
| Return Code | Significance |
| 0 | no error |
| 1 | row length of the mask too small |
| 2 | column width of the mask too small |
Scroll bars must only be explicitly created using this function if you want to create the entire mask via program functions of the < mas> module.