Archive: Text Colours


Text Colours
I've got an installer which has white text. But its unreadable as i have a custom background. How can i change the colour?

Thanks


Change text colors in your 'show' function for the page


...
!define MUI_PAGE_CUSTOMFUNCTION_SHOW "on_welcome_pg_show"
...

Function on_welcome_pg_show
Push $0

GetDlgItem $0 $MUI_HWND 1203
SetCtlColors $0 "0000FF" "FFFFFF"
; See manual sec 4.9.14.15
;
; Get the Control ID (in this example 1203) using
; http://www.catch22.net/software/winspy.asp
; Usage: select JUST the specific control (the text)
; WinSpy will show you the "Control ID" in hex
; Convert to decimal using any web converter.

Pop $0
FunctionEnd



Regards,

Larry

thanks


Hello larrykluger
I hope ur still around this forum
regarding to your notes above
"
; Usage: select JUST the specific control (the text)
; WinSpy will show you the "Control ID" in hex
; Convert to decimal using any web converter. "

i found that this WinSpy is an interesting tool. and i would like to ask, what is a 'web converter'?
or, maybe anyone else could answer my question
thank a lot guys!


Hi,

By web converter, I mean a program that converts hex to decimal available on the web.

For example, http://www.statman*******conversions/hexadecimal.html

Regards,

Larry


Thanx Larry


you can also use the calculator built into windows


Thank you Anders! I have never use that calculator, and never know that there is a scientific calculator! LOL