View Single Post
Old 9th February 2012, 14:24   #11
gfm688
Junior Member
 
Join Date: Jul 2010
Posts: 12
!define MUI_PAGE_CUSTOMFUNCTION_SHOW InstShow
!insertmacro MUI_PAGE_INSTFILES
!insertmacro MUI_LANGUAGE "English"

!define PBM_SETBARCOLOR 0x0409
!define PBM_SETBKCOLOR 0x2001

Function InstShow
FindWindow $0 "#32770" "" $HWNDPARENT
GetDlgItem $0 $0 1004
System::Call UxTheme::SetWindowTheme(i,w,w)i(r0,"","")
SendMessage $0 ${PBM_SETBARCOLOR} 0 0x000000
SendMessage $0 ${PBM_SETBKCOLOR} 0 0x3F48CC
FunctionEnd
gfm688 is offline   Reply With Quote