From 7a966c8335699fd66fd5e70b1b555cee042c1d58 Mon Sep 17 00:00:00 2001 From: kichik Date: Tue, 8 Aug 2006 15:44:05 +0000 Subject: [PATCH] use InstallOptions' new HWND field, not 1200 + field number - 1 git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4731 212acab6-be3b-0410-9dea-997c60f758d6 --- Contrib/Modern UI/Readme.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Contrib/Modern UI/Readme.html b/Contrib/Modern UI/Readme.html index f7f7e00e..8546fe40 100644 --- a/Contrib/Modern UI/Readme.html +++ b/Contrib/Modern UI/Readme.html @@ -1074,7 +1074,7 @@ Function FunctionName ;FunctionName defined with Page command !insertmacro MUI_INSTALLOPTIONS_INITDIALOG "ioFile.ini" Pop $HWND ;HWND of dialog - GetDlgItem $DLGITEM $HWND 1200 ;1200 + Field number - 1 + !insertmacro MUI_INSTALLOPTIONS_READ $DLGITEM "ioFile.ini" "Field 1" "HWND" ;$DLGITEM contains the HWND of the first field CreateFont $FONT "Tahoma" 10 700