Welcome Page: DlgItem Number
How can i find the numbers of dlgitem on welcom page ?
Reshack dont show welcome page
sorry my bad english
Archive: Welcome Page: DlgItem Number
Welcome Page: DlgItem Number
How can i find the numbers of dlgitem on welcom page ?
Reshack dont show welcome page
sorry my bad english
GetDlgItem on show function of welcome page.
I use GetDlgItem, but i dont know item_id for text on welcome page.
Reshack dont show welcome page and i dont know how search it
ok, i find it with this script :D
Function "WelcomeColor"
FindWindow $HWND "#32770" "" $HWNDPARENT
StrCpy $0 0
start:
IntOp $0 $0 + 1
GetDlgItem $DLGITEM $HWND $0
StrCmp $DLGITEM "0" start 0
MessageBox MB_OK|MB_ICONSTOP "$0"
SetCtlColors $DLGITEM FFFFFF 4C5844
FunctionEnd
The welcome page uses InstallOptions. InstallOptions readme says:
To get the HWND of the controls use:The INI file used to create the welcome page can be found in Contrib\Modern UI\ioSpecial.ini. The INI file after it's been changed by the MUI, can be found in $PLUGINSDIR while the installer is running.
GetDlgItem (output var) (hwnd of the custom dialog) (1200 + Field number - 1)