The optional CTLDATA statement is used to define control data for the control. Hexadecimal or decimal word constants follow the CTLDATA statement, separated with commas.
┌────────────,─────────────┐
│ │
│
──CTLDATA─────┬──decimal─value──────┬─┴─
│ │
├──hexadecimal─value──┤
│ │
└──string─────────────┘
In addition to hexadecimal or decimal data, the CTLDATA statement can be followed by the MENU keyword, followed by a menu template in a BEGIN/END block. This creates a menu template as the control data of the window.