Skip to content
⌘ NSIS Forum Archive

Mui Bg Id

5 posts

fishsauce#

Mui Bg Id

Quick question... what's the ID to capture the crosshatched area so I can make it white?

Thanks.
engine#
1044

you can find controls' IDs via resource-explore software, such as eXescope, Resource hacker, etc..
fishsauce#
Hmm... it doesn't seem to be working... it's on the outer dialog right?

GetDlgItem $0 $HWNDPARENT 1044
SetCtlColors $0 000000 FFFFFF
... is the code I'm using, but it's still gray.

VS reports the ID as 10442 (a picture control) but NSIS seems to always ignore the ones digit if there are 5 (and doesn't work if you use 5).
fishsauce#
Yay, that works!

And you weren't wrong, I just wanted to make sure that I had to enter 1044 instead of the 'proper' 10442 for the ID. Indeed in the end it was 1044.

Thank you for your help!