Archive: Button Next


Button Next
Hi:

I have another problem....

I have a custom page where I disabled the Next button....I want this button to enable when the user select one item of a listbox...

...code of custom page:

function MyCustomPage
push $R0
InstallOptions::InitDialog /NOUNLOAD "${PathThereAreFiles}\iniDialogSelectAutoCAD.ini"
pop $R0

GetDlgItem $R0 $HWNDPARENT 1
EnableWindow $R0 0

!insertmacro MUI_HEADER_TEXT $(PAGE_TITLE_dgSelectAutoCAD) $(PAGE_SUBTITLE_dgSelectAutoCAD)

InstallOptions::Show
pop $R0
functionend

.....I have read some threads of this forum about this but none has worked for me....

How can I get the button enabled when selecting and item of the listbox??

Thanks,
Kadir


Use the leave function as suggested in testnotify.nsi example.