Reference/GetDlgItem: Difference between revisions

From NSIS Wiki
Jump to navigationJump to search
(Created page with "=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 con...")
 
mNo edit summary
 
Line 6: Line 6:


<highlight-nsis>GetDlgItem $0 $HWNDPARENT 1 # next/install button</highlight-nsis>
<highlight-nsis>GetDlgItem $0 $HWNDPARENT 1 # next/install button</highlight-nsis>
''Command introduced with NSIS v2.0''

Latest revision as of 11:18, 3 June 2013

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