# FarListPos

The FarListPos structure contains information about the cursor position in a DI_LISTBOX or DI_COMBOBOX list.

    struct FarListPos
    {
      int SelectPos;
      int TopPos;
    };

### Members

SelectPos
Index of the current item.
TopPos
Index of the first visible item, or -1 if the first visible item should be determined automatically according to SelectPos.

### Remarks

See also:
DM_LISTGETCURPOS, DM_LISTSETCURPOS, TFarListPos, Structures