Archive: black Style


black Style
how to make a black Style soft?


What does that mean? Please explain more.

Stu


i want to DIY a soft.the background is blak.

i had uesed !define MUI_BGCOLOR 000000.
but the background is only a little black.

i want make it looke like the Photo
http://book.up2.topzj.com/data/book/...jdG9MDZ6OL.jpg


See SetCtlColors, you'll have to paint all the colors by yourself.


except SetCtlColors ,have others ?


Nope, using MUI you'll need to paint each control manually with SetCtlColors.
See the following for an example,

http://forums.winamp.com/showthread....hreadid=274644


Perhaps another ui from wiki would do that,

http://nsis.sourceforge.net/Category:Graphics_and_UIs


http://img215.imageshack.us/img215/7194/aaaadk1.th.jpg

!define MUI_PAGE_CUSTOMFUNCTION_SHOW FinShow
!insertmacro MUI_PAGE_FINISH

Function FinShow
ReadINIStr $6 "$PLUGINSDIR\ioSpecial.ini" "Field 4" "HWND"
SetCtlColors $6 0x00FF00 0x00FF00
; Checkbox #2
ReadINIStr $7 "$PLUGINSDIR\ioSpecial.ini" "Field 3" "HWND"
SetCtlColors $7 0x566978 0x00FF00

FunctionEnd


how to change CHECKBOX text color on finish page?and need't green color.


define MUI_PAGE_CUSTOMFUNCTION_SHOW FinShow
!insertmacro MUI_PAGE_FINISH

Function FinShow
ReadINIStr $6 "$PLUGINSDIR\ioSpecial.ini" "Field 4" "HWND"
SetCtlColors $6 0x00FF00 transparent
; Checkbox #2
ReadINIStr $7 "$PLUGINSDIR\ioSpecial.ini" "Field 3" "HWND"
SetCtlColors $7 0x566978 transparent

FunctionEnd

IF I use transparent,i can't see the checkbox_text.


Rather than use transparent, try using the same colour code that is used for the background. It is a known issue that buttons in XP cannot have transparent backgrounds unless they are owner drawn.

Stu


define MUI_PAGE_CUSTOMFUNCTION_SHOW FinShow
!insertmacro MUI_PAGE_FINISH
Function FinShow
ReadINIStr $6 "$PLUGINSDIR\ioSpecial.ini" "Field 4" "HWND"
SetCtlColors $6 0xFFFFFF 0x000000
; Checkbox #2
ReadINIStr $7 "$PLUGINSDIR\ioSpecial.ini" "Field 3" "HWND"
SetCtlColors $7 0xFFFFFF 0x000000
FunctionEnd




if i use 0xFFFFFF 0x000000 ,i can't see checkbox_text.

the soft background is balck.


Sorry I didn't mention that with XPStyle on, not only can you not change the background colour to transparent but you cannot change the foreground (text) colour either.
What you should do is add check boxes without any labels and then add your own labels (Type=Label).

Stu