ListBoxDeleteString

 

void ListBoxDeleteString(char *classname, int index);

 

ListBoxDeleteString 함수는 윈도우 Control의 ListBox의 특정 위치의 아이템을 삭제하는 기능을 한다.

 

함수 인자

class_name                 편집기의 윈도우 control ListBox오브젝트의 Class Name 이 된다.

index                           삭제할 index (예를 들어, 등록된 Data가 8개 라면 Index는 0~7까지를 갖게 된다.)

 

Return 값                           

Return 값은 없다.

 

예제

@ListBoxDeleteString("ListBox1", 0);

 

문장설명 : ClassName이 ListBox1이라는 ListBox의 Data에 10,20,30,40 이라는 4개의 숫자가 등록되어 있다면 0번째 index 즉 ‘10’ 데이터를 삭제한다.

 

관련항목

@ListBoxAddString()

@ListBoxDeleteString()

@ListBoxFillDir()

@ListBoxFillFile()

@ListBoxGetCurSel()

@ListBoxGetSel()

@ListBoxGetSelCount()

@ListBoxGetText()

@ListBoxResetContent()

@ListBoxSetCurSel()