CTLDATA Statement

Syntax:

  CTLDATA word-value[, word-value][...]

  CTLDATA string

  CTLDATA MENU
  BEGIN
  menuitem-definition
     .
     .
     .
  END

The CTLDATA statement defines control data for a custom dialog box, window, or control. The statement has three basic forms to permit specifying a menu or specifying data in words or characters. The data can be in any format, since only your window procedure will use it. The window procedure of the dialog box, window, or control receives this data when the item is created. It is up to the window procedure to process the data.