Archive: Remove brandtext only from a custom page


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?


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}


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?


They're ids of branding controls. See Contrib\UIs\modern.exe with a resource editor, dialog 105.


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?

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.