Archive: How to use MUI_CUSTOMFUNCTION_MOUSEOVERSECTION?


How to use MUI_CUSTOMFUNCTION_MOUSEOVERSECTION?
I see this General Custom Functions in Modern UI 2.0 help.
MUI_CUSTOMFUNCTION_MOUSEOVERSECTION
But I can not find any introduce.
Could someone tell me how to use it?
Thanks!


SetCompressor /SOLID lzma
SetCompress force
XPStyle on
OutFile "test.EXE"
Name "test"
!include 'MUI2.nsh'
!define MUI_PAGE_CUSTOMFUNCTION_PRE ComponentPagePre
!define MUI_PAGE_CUSTOMFUNCTION_SHOW ComponentPageShow
!define MUI_CUSTOMFUNCTION_MOUSEOVERSECTION ComponentMouseOverSection
!insertmacro MUI_PAGE_COMPONENTS
!insertmacro MUI_PAGE_INSTFILES
!insertmacro MUI_LANGUAGE "English"

Section
SectionEnd

Function
ComponentPagePre
MessageBox MB_ICONINFORMATION|MB_OK 'ComponentPagePre'
FunctionEnd
Function
ComponentPageShow
MessageBox MB_ICONINFORMATION|MB_OK 'ComponentPageShow'
FunctionEnd
Function
ComponentMouseOverSection
MessageBox MB_ICONINFORMATION|MB_OK 'ComponentMouseOverSection'
FunctionEnd
A sample ,but can not work.Never seen the MessageBox ComponentMouseOverSection

I think you are expected to use the DESCRIPTION stuff to get that working, so if you are not using that, you don't need the define, just rename the function to .onMouseOverSection