Archive: Section Descriptions


Section Descriptions
  I'm creating dynamic sections based on a ini file, in .onInit. I need to set the description of each section so that I could see the description while i hover over the component in components page.

In case of usual way we write

!insertmacro MUI_FUNCTION_DESCRIPTION_BEGIN
!insertmacro MUI_DESCRIPTION_TEXT ${SectionName} ${SectionDescr}
!insertmacro MUI_FUNCTION_DESCRIPTION_END

but how this can be done for a dynamic sections.

-Shiva S


In the case of dynamic sections, you might be best off handling the .onMouseOverSection callback yourself.

To use that, comment out your MUI_FUNCTION_DESCRIPTION bits, and add..


FunctionEnd 

>
Your dynamic sections code should have some handling in it for you to know which section is which, of course.

See also:
http://forums.winamp.com/showthread.php?t=323968