I've been dabbling with NSIS for a bit now, and have a couple of decent installers working.
However this last one is really confusing me! I have a ListBox on a page, that I populate then need to retrieve the value on the subsequent page. I cannot see to figure out the right query, as tried many, those from forums, etc and don't seem to get it right!
nsDialogs::Create /NOUNLOAD 1018
Pop $0
${NSD_CreateText} 0 47 30% 12u 200
Pop $EDIT
${NSD_CreateListBox} 0 87 40% 32u ""
Pop $huntgroup
SendMessage $huntgroup ${LB_ADDSTRING} 0 "STR:entry1"
SendMessage $huntgroup ${LB_ADDSTRING} 0 "STR:entry2"
SendMessage $huntgroup ${LB_ADDSTRING} 0 "STR:entry3"
${NSD_CreateLabel} 0 10u 75% 40u "Select your hunt group from the drop down menu"
Pop $0
${NSD_GetText} $EDIT $myvar1
SendMessage $huntgroup ${LB_GETSEL} 0 0 $huntgroup I have tried several different ways of getting the value and all either return 0 or return a 4 or 5 digit number (hwid perhaps?)Thanks in advance for anyone who can help!