winman2004
7th October 2013 08:26 UTC
Remove brandtext only from a custom page
How to remove a brandtext only from a custom page? I have BrandingText already set to a value. So it comes in licence page,directory page etc. But i don't want it to come in one of custom page. How it can be done?
aerDNA
7th October 2013 19:52 UTC
GetDlgItem $0 $HWNDPARENT 1028
GetDlgItem $1 $HWNDPARENT 1256
On page show:
ShowWindow $0 ${SW_HIDE}
ShowWindow $1 ${SW_HIDE}
On page leave:
ShowWindow $0 ${SW_SHOW}
ShowWindow $1 ${SW_SHOW}
winman2004
8th October 2013 10:17 UTC
Thank you.It works nice.My custom page come at the end before finish page. So anyway finish page does not have brand text by default in finish page. So i think leave function can be skipped in that case. Also what these two dialogid 1028 and 1256 stands for?
aerDNA
8th October 2013 14:57 UTC
They're ids of branding controls. See Contrib\UIs\modern.exe with a resource editor, dialog 105.
winman2004
26th October 2013 08:42 UTC
Originally posted by aerDNA
They're ids of branding controls. See Contrib\UIs\modern.exe with a resource editor, dialog 105.
Why there are two ids for one brand text control?
aerDNA
26th October 2013 14:47 UTC
I think it has to do with overlaying disabled text on top of hline without hline being visible in the background.
Also, 1256 is the primary backup in case 1028 shifts phase due to subspace anomalies.