is it possible to change the background color of a textbox on a custom page from grey to white?
Here is my ini-File:
[Settings]
NumFields=3
State=0
[Field 1]
Type=Label
Left=0
Top=100
Right=-1
Bottom=120
Text=
State=0
Flags=NOTIFY
HWND=1967168
[Field 2]
Type=text
Left=0
Top=10
Right=-1
Bottom=90
Text=
State=""
Flags=MULTILINE|VSCROLL|READONLY
HWND=4719720
[Field 3]
Type=Checkbox
Left=0
Top=125
Right=-1
Bottom=135
Text=Ignore
State=1
Flags=NOTIFY
HWND=1508582 and here is my code of showCustomPage:Function showCheckSummary
!insertmacro MUI_HEADER_TEXT "Environment errors" "The following environment checks failed."
;if no errors were found go to done else goto notEqual
strcmp $9 "false" done notEqual
notEqual:
writeinistr "checkSummary.ini" "FIELD 3" "State" "0"
;disable next button
GetDlgItem $R0 $HWNDPARENT 1
EnableWindow $R0 0
writeinistr "checkSummary.ini" "FIELD 2" "State" "$ERROR_MESSAGE"
;changeColor of textbox from grey to white
ReadINIStr "$0" "checkSummary.ini" "FIELD 2" "HWND"
strcpy $0 "4719720"
GetDlgItem $0 $HWNDPARENT 1
SetCtlColors $0 0xFF00FF 0x00FFFF
InstallOptions::InitDialog /NOUNLOAD "checkSummary.ini"
InstallOptions::Show 'checksummary.ini'
done:
FunctionEnd I tried it but somethong goes wrong...Where is the mistake?
Thanks...