Reference/GetDlgItem
From NSIS Wiki
Jump to navigationJump to search
GetDlgItem
user_var(output) dialog item_id
Retrieves the handle of a control identified by item_id in the specified dialog box dialog. If you want to get the handle of a control on the inner dialog, first use FindWindow user_var(output) "#32770" "" $HWNDPARENT to get the handle of the inner dialog.
GetDlgItem $0 $HWNDPARENT 1 # next/install button
Command introduced with NSIS v2.0