Mui_header_transparent_text
Hi!
I've found that when using ModernUI and defining MUI_HEADER_TRANSPARENT_TEXT, the header text and subtext flicker quite badly with each page change.
I've discovered, however, that by changing the following code starting at line 187 of Contrib\Modern UI\System.nsh...
!macro MUI_HEADER_TEXT_INTERNAL ID TEXT
GetDlgItem $MUI_TEMP1 $HWNDPARENT "${ID}"
!ifdef MUI_HEADER_TRANSPARENT_TEXT
ShowWindow $MUI_TEMP1 ${SW_HIDE}
!endif
SendMessage $MUI_TEMP1 ${WM_SETTEXT} 0 "STR:${TEXT}"
!ifdef MUI_HEADER_TRANSPARENT_TEXT
ShowWindow $MUI_TEMP1 ${SW_SHOWNA}
!endif
!macroend
...to this...
!macro MUI_HEADER_TEXT_INTERNAL ID TEXT
GetDlgItem $MUI_TEMP1 $HWNDPARENT "${ID}"
!ifdef MUI_HEADER_TRANSPARENT_TEXT
LockWindow "on"
ShowWindow $MUI_TEMP1 ${SW_HIDE}
!endif
SendMessage $MUI_TEMP1 ${WM_SETTEXT} 0 "STR:${TEXT}"
!ifdef MUI_HEADER_TRANSPARENT_TEXT
ShowWindow $MUI_TEMP1 ${SW_SHOWNA}
LockWindow "off"
!endif
!macroend
...the flicker goes away nicely.
Is it possible for this to be changed? Am I even requesting this change in the right way? Or is there some other way I can achieve the same thing in my own code?
Thanks in advance.
Regards,
Brad. :)