UIs with Resource Hacker
Hi!
I,ve modified the UI with Resource Hacker.
In ResHack you can add a bitmap control. Is it possible to get NSIS to put the branding image into that control? If so, how do i do it?
Archive: UIs with Resource Hacker
UIs with Resource Hacker
Hi!
I,ve modified the UI with Resource Hacker.
In ResHack you can add a bitmap control. Is it possible to get NSIS to put the branding image into that control? If so, how do i do it?
just use setbrandingimage.
that was just an example.
im just wondering how to get NSIS to put stuff inte the controls?
Does anybody know?
besides, setbranding image doesnt work very well with my UI...
When you use ChangeUI NSIS will automatically search for a static control with the SS_BITMAP style. If it finds one future SetBrandingImage calls will use it. If you think it finds the wrong id for some reason specifically tell SetBrandingImage what control to use with /IMGID=control_id. Have a look at the ChangeUI output, it tells you if it found a useable image control.
To put stuff in controls other than images use FindWindow, $HWNDPARENT, GetDlgItem, and SendMessage.
Thanks kichik!
Works great!