Skip to content
⌘ NSIS Forum Archive

Name of "Next" button on a custom page

3 posts

jdt2oo7#

Name of "Next" button on a custom page

Hi all,

I created a custom page and want the Next button to be disabled until user makes a selection from the list box.

1. What is the name for "Next" button on the custom page?

2. I should able to en/disable the "Next" button using this command: EnableWindow "next button" 0, is that correct?

Thanks for your help!
MSG#
Why don't you try searching the forums for 'disable next button'? (Tip: try searching in topic titles only.)
jdt2oo7#
Thanks for the tip, MSG! Spent so much time searching with no success until using your tip.

GetDlgItem $4 $HWNDPARENT 1 ; next=1, cancel=2, back=3
EnableWindow $4 0