Skip to content
⌘ NSIS Forum Archive

How to add an item to the list of combobox ?

4 posts

dujuan#

How to add an item to the list of combobox ?

There are one combobox and two button in my IO page, one button named "AddItem",the other named "DelItem".
The "DelItem" work good, but "AddItem" make the progeam abort.

Somebody help me.
plz.
kike_velez#
Hello

add:
ReadINIStr $R3 $PLUGINSDIR\test.ini "Field 1" "State"
GetDlgItem $1 $0 1200
SendMessage $1 ${CB_ADDSTRING} 0 "STR:$R3"
abort

Best Regards