Archive: Very Simple Question


Very Simple Question
Hi,

I'd like to search the forums but, unfortunately, I have very little time.

I'd try my luck in asking any one of you guys.

I have a custom page that has a listbox. The listbox contains all available web servers installed on the client pc. By default, none is selected/highlighted and I disable the next button. I set the listbox's Flags property to Notify, but whenever I select something, it automatically goes to the next page.

Is there a way for me to enable the next button once an item is selected in the listbox instead of it going to the next page?

Thank you very much.


To enable or disable the Next button, use:

GetDlgItem $0 $HWNDPARENT 1
EnableWindow $0 1 # enable
#EnableWindow $0 0 # disable