The ID of the dialog item from which the items should be deleted.
TRUE if the items have been deleted from the list.
FALSE if an error occurred while deleting data.
// *** delete first two list items ***
struct FarListDelete FLDItem;
FLDItem.StartIndex=0;
FLDItem.Count=2;
Info.SendDlgMessage(hDlg,DM_LISTDELETE,ID,(LONG_PTR)&FLDItem);
// *** clear all list ***
// Method 1:
struct FarListDelete FLDItem={0,0};
Info.SendDlgMessage(hDlg,DM_LISTDELETE,ID,(LONG_PTR)&FLDItem);
// Method 2:
Info.SendDlgMessage(hDlg,DM_LISTDELETE,ID,(LONG_PTR)NULL);