Intel® Fortran Compiler with Windows-Based Applications

ID 757211
Date 6/30/2025
Public
Document Table of Contents

Available Indexes for Each Dialog Control

The available indexes and defaults for each of the controls are listed in the following table:

Control Type

Integer Index Name

Logical Index Name

Character Index Name

Subroutine Index Name

Use ActiveX* Controls Overview

DLG_IDISPATCH

DLG_ENABLE

Use Buttons

DLG_ENABLE

DLG_TITLE

DLG_CLICKED

Use Check Boxes and Radio Buttons

DLG_STATE (default)

DLG_ENABLE

DLG_TITLE

DLG_CLICKED

Use List Boxes and Combo Boxes

DLG_NUMITEMS : Sets or returns the total number of items in a list.

DLG_ENABLE

  • DLG_STATE: By default, sets or returns the text of the selected item or first item in the list.

  • DLG_ADDSTRING: Used with DLGSETCHAR to add a new item. It automatically increments DLG_NUMITEMS.

  • An index, 1 to n: Sets or returns the text of a particular item.

DLG_SELCHANGE (default)

DLG_DBLCLICK

DLG_CHANGE

DLG_UPDATE

Use List Boxes and Combo Boxes

  • DLG_NUMITEMS (default): Sets or returns the total number of items in a list.
  • DLG_STATE: Sets or returns the index of the selected item.

DLG_ENABLE

  • DLG_STATE: By default, sets or returns the text of the selected item or first item in the list, or you can include an index, 1 to n, to set or return indicates the text of a particular item.
  • DLG_ADDSTRING: Used with DLGSETCHAR to add a new item. It automatically increments DLG_NUMITEMS.

DLG_SELCHANGE (default)

DLG_DBLCLICK

Use Edit Boxes

  • DLG_TEXTLENGTH (default): Sets or returns the length of the text in the edit box.
  • DLG_POSITION: Sets or returns the cursor position.

DLG_ENABLE

DLG_STATE

DLG_CHANGE (default)

DLG_UPDATE

DLG_GAINFOCUS

DLG_LOSEFOCUS

Use Group Boxes

DLG_ENABLE

DLG_TITLE

Use List Boxes and Combo Boxes

  • DLG_NUMITEMS: Sets or returns the total number of items in a list.
  • An index, 1 to n: Determines which list items have been selected and their order.

DLG_ENABLE

  • DLG_STATE: By default, sets or returns the text of the selected item or first item in the list.
  • DLG_ADDSTRING: Used with DLGSETCHAR to add a new item. It automatically increments DLG_NUMITEMS.
  • An index, 1 to n: Sets or returns the text of a particular item.

DLG_SELCHANGE (default)

DLG_DBLCLICK

Use Pictures

DLG_ENABLE

Use Progress Bars

DLG_POSITION (default)

DLG_RANGEMIN

DLG_RANGEMAX

DLG_ENABLE

Use Check Boxes and Radio Buttons

DLG_STATE (default)

DLG_ENABLE

DLG_TITLE

DLG_CLICKED

Use Scroll Bars

DLG_POSITION (default)

DLG_RANGEMIN

DLG_RANGEMAX

DLG_BIGSTEP

DLG_ENABLE

DLG_CHANGE

Use Sliders

DLG_POSITION (default)

DLG_RANGEMIN

DLG_RANGEMAX

DLG_SMALLSTEP

DLG_BIGSTEP

DLG_TICKFREQ

DLG_ENABLE

DLG_CHANGE

Use Spin Controls

DLG_POSITION (default)

DLG_RANGEMIN

DLG_RANGEMAX

DLG_ENABLE

DLG_CHANGE

Use Static Text

DLG_ENABLE

DLG_TITLE

Use Tab Controls

  • DLG_NUMITEMS: Sets or returns the total number of tabs.
  • DLG_STATE: Sets or returns the currently selected tab.
  • An index, 1 to n: Sets or returns the dialog name of the dialog box associated with a particular tab.

DLG_ENABLE

  • DLG_STATE: By default, sets or returns the currently selected tab.

  • An index, 1 to n: Sets or returns the text of a particular tab.

DLG_SELCHANGE (default)

DLG_SELCHANGING

For an overview on control indexes, see Using Control Indexes.