Archive: Component Descriptions


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.


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

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.


Oh so you're saying that the description does not change when the user selects another component using the keyboard?

-Stu