!insertmacro MUI_INSTALLOPTIONS_INITDIALOG "menu01.ini"
Pop $HWND
GetDlgItem $DLGITEM $HWND 1211 ;1200 + Field number - 1
SetCtlColors $DLGITEM 0000FF transparent
!insertmacro MUI_INSTALLOPTIONS_SHOW
>> 1211
--> not possible
1210 sure, but not 1211
Field 12 was a label which was added after i have finished the rest.
if i use it as Field 2 (the fields after increases +1) it works. and then i can color field 12 which is now a directory box.
so labels cant and dir boxex can be colored >= 1211
HTH
2.0 final - bug in GetDlgItem / SetCtlColors
8 posts
Please create a generic test script that adds identical fields in a loop and givse them a color. That way you can see whether it's a bug or a script problem.
sorry for delay, my provider had trouble (error 678)
here are the examples - one with and one w/o fault.
HTH
PS nsis 2.0 final
here are the examples - one with and one w/o fault.
HTH
PS nsis 2.0 final
so i can consider it as a know bug?
i apologize but this titel "Much to say..." says nothing to me like "rain in honululu".
maybe u can merge all in a "bug in nsis final" thread - thx
i apologize but this titel "Much to say..." says nothing to me like "rain in honululu".
maybe u can merge all in a "bug in nsis final" thread - thx
On the end of that thread you'll find a solution.
ic...
and it works - many thx kichik
Originally posted by ecclesin my case it has to be 1212 instead 1211 'cause 1211 is the button from dirrequest.
(The example script I mentioned in an earlier post has an example of this.) The control ID of the button part is the control ID of the text part + 1. The control IDs of all following fields are then also + 1. E.g. if fields 1 to 3 are Label, FileRequest and Text, the IDs are:I'll see if I can make a note about this in the InstallOptions readme (after I sort that bug out...)!Field 1 (Label): 1200
Field 2 (FileRequest) text part: 1201
button part: 1202
Field 3 (Text): 1203
and it works - many thx kichik
Is probably off-topic but:
deguixNobody said anything after that, and this bug continues until now.
I remembered another bug, when I'm using the Banner Plugin and I use or click in another program at the same time, it doesn't load anything anymore, and you can only close the banner using "Ctrl + Alt + Del". If you want to verify that, compile the RCMainMenu.nsi, or just run "Registry Changer.exe".
eccles
Anyone want to look at the Banner plugin problem? I'm not familiar with the Banner plugin code.