Archive: MUI_PAGE_STARTMENU: No MUI_PAGE_CUSTOMFUNCTION_SHOW?


MUI_PAGE_STARTMENU: No MUI_PAGE_CUSTOMFUNCTION_SHOW?
Hello,
I'm trying to change the Background of the upper label of the MUI_PAGE_STARTMENU to white.
What I tried first:

!define MUI_PAGE_CUSTOMFUNCTION_SHOW changeColors
!insertmacro MUI_PAGE_STARTMENU Application $ICONS_GROUP

Function changeColors
FindWindow $1 "#32770" "" $HWNDPARENT
GetDlgItem $2 $1 1003
SetCtlColors $2 0x000000 0xFFFFFF
FunctionEnd

I got this "1003" from "contrib\StartMenu\ressource.h and StartMenu.rc

I'm sure that "1003" is the right ID for this label.

Nothing happened.
So I tried just a MsgBox inside change Colors and I recognised that changeColors is never called on the "show" event of MUI_PAGE_STARTMENU.
When I change to:
!define MUI_PAGE_CUSTOMFUNCTION_PRE changeColors

this function is called, I get my msgbox but no effect because the Dialog is not yet created.

Why has MUI_PAGE_STARTMENU no MUI_PAGE_CUSTOMFUNCTION_SHOW?
What can I do?

Thanks for tips, Bernd


[Solved] Old version
I just updated to 2.27 and now everything is fine.

Sorry for asking silly questions about old software.

G.