|
|
#1 |
|
Junior Member
Join Date: Mar 2004
Posts: 2
|
I have a listbox containing a dynamically generated list of items.
What I want to do is to delete a specific item in the list when a button is clicked. I have detected the button click and I can change text in textboxes using: GetDlgItem $1 $hwnd 1201 ; field 2 (1200 + field 2 - 1) SendMessage $1 ${WM_SETTEXT} 0 'STR:TextBoxUpdated' abort But this same method does not work for list boxes. Any suggestions? |
|
|
|
|
|
#2 |
|
Major Dude
|
Use the message "LB_DELETESTRING" (To delete a string inside a ListBox) with "LB_FINDSTRINGEXACT" (To find the string inside a ListBox):
PHP Code:
|
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Mar 2004
Posts: 2
|
Sweet - it worked like a charm - thanks
|
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|