scully13
6th May 2004 21:19 UTC
Make desc text on components page not grayed
I'm getting feedback now about my install and one of the things I got back was that the description text on the components page shows up grayed out. I think they'll live with it but they'd be happier if it showed up better. Is there a way to make this text show up darker? I was assuming that the control was just set to disabled or something so I opened up the modern.exe in ResHacker but I'm not seeing any reason there why it's grayed either. Thanks,
scully13
6th May 2004 22:26 UTC
hmmmm. I just ran the NSIS install and only the part that says Hover your mouse... is grayed. So, I must have done something wrong. I'm looking in the example makensis script now but don't see a .onMouseOverSection so it must be done a completely different way.
Function .onMouseOverSection
FindWindow $R0 "#32770" "" $HWNDPARENT
GetDlgItem $R0 $R0 1043 ; description item
StrCmp $0 -1 "" +2
SendMessage $R0 ${WM_SETTEXT} 0 "STR:"
StrCmp $0 1 "" +2
SendMessage $R0 ${WM_SETTEXT} 0 "STR:Comp. One - 4MB"
StrCmp $0 2 "" +2
SendMessage $R0 ${WM_SETTEXT} 0 "STR:Comp. Two - 6MB"
FunctionEnd
Yathosho
6th May 2004 22:46 UTC
have a look at the MUI documentation, the descriptions can be set using the MUI_DESCRIPTION_TEXT macro
scully13
6th May 2004 22:47 UTC
Well, nevermind. I was doing it the hard way and most likely the wrong way. It's amazing it worked as well as it did. Now I wonder how I even knew to do it that way.