These
commands are executed in the
Function LeaveCustom, after
Function ShowCustom and Work.
Originally posted by Me
[B]* This commands set enabled or disabled de next button:
- ; Disable "Next" button.
GetDlgItem $1 $HWNDPARENT 1
EnableWindow $1 0
- ; Enable "Next" button.
GetDlgItem $1 $HWNDPARENT 1
EnableWindow $1 1
Depending
conditionally of the parameters that are obtained according to two
DirRequest fields, NEXT button is activate or not.
I would like to do the same with the
CustomButton ClearFields for the two DirRequest Fields, but I cannot find the way to obtain $HWND of he himself.
For that reason it asked if it were well before this.
I could not found
information as well as either
examples, on like the state of a DirRequest Field, do make enabled or disabled a
CustomButton. Single I found information on this for next Button.
I
Attached 2 files on a Zip,
CopyFolderTo.nsi and
CopyFolderTo.ini.