Winamp & Shoutcast Forums

Winamp & Shoutcast Forums (http://forums.winamp.com/index.php)
-   NSIS Discussion (http://forums.winamp.com/forumdisplay.php?f=65)
-   -   How to use MUI_CUSTOMFUNCTION_MOUSEOVERSECTION? (http://forums.winamp.com/showthread.php?t=300619)

Ansifa 4th December 2008 02:20

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!

Ansifa 4th December 2008 02:34

Quote:

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

Anders 4th December 2008 04:30

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


All times are GMT. The time now is 04:42.

Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.