DM_LISTGETCURPOS
The DM_LISTGETCURPOS message is sent to the dialog manager to determine the current cursor position in a
DI_COMBOBOX or DI_LISTBOX list.
Param1
The ID of the dialog item for which the cursor position is determined.
Param2
Pointer to a FarListPos,
structure that will contain additional information about the current position, or NULL if the additional information is not required.
Return
Current cursor position in the list.
Controls
Control | Description |
---|---|
DI_LISTBOX | list |
DI_COMBOBOX | combined list |
Remarks
Example
// get current position CurPos=Info.SendDlgMessage(hDlg,DM_LISTGETCURPOS,ID,0);
See also: