Scipio
21st September 2006 04:58 UTC
Component Descriptions
Is there any way to show a description for components without having to mouse over it? For example, when the user first enters the component selection page, the description for the first group comes up. Then when they click or use the keyboard to select another component, then the description for that comes up.
Afrow UK
21st September 2006 11:00 UTC
You should be able to set its text like so:
!define MUI_PAGE_CUSTOMFUNCTION_SHOW ComponentsPageShow
!insertmacro MUI_PAGE_COMPONENTS
Function ComponentsPageShow
FindWindow $R0 "#32770" "" $HWNDPARENT
GetDlgItem $R0 $R0 1043
SendMessage $R0 ${WM_SETTEXT} 0 "STR:Text"
FunctionEnd
-Stu
Scipio
22nd September 2006 06:52 UTC
Thanks Afro UK! I got it to show up, but I can't figure out how to make the message change from component to component. And the text appears grayed-out instead of black.
Afrow UK
22nd September 2006 11:53 UTC
Oh so you're saying that the description does not change when the user selects another component using the keyboard?
-Stu