Defcon0
15th October 2006 15:53 UTC
Custom Page fully filled with a Bitmap ?
Hello,
I wanted to fill out my whole custom page with one Bitmap (497*314) but without the area behind the buttons.
And a header shouldn't also been there.
Here's how it is now:
http://www.casepro.de/misc/pic1.GIF
Here's how I qould like to have it:
http://www.casepro.de/misc/pic2.GIF
Comm@nder21
15th October 2006 16:07 UTC
you'll have to modify the MUI resource files and create a new page with such a large bitmap resource.
Defcon0
15th October 2006 16:28 UTC
Isn't that an ambivalence ?
Should I now mdoify the MUI rsource OR create a new page ?
Because I cannot add new pages to a resource file, can I ?
I used Resource Hacker.
CancerFace
15th October 2006 16:47 UTC
You can modify the MUI header file with resource hacker, then save it and define it in your script using !define MUI_UI "your_header.exe"
CF
Defcon0
15th October 2006 17:03 UTC
Which one the MUI Header file ?
And also I don't want all my dialogs / Pages to have such a big graphic. Only the first one.
Defcon0
15th October 2006 18:18 UTC
OK. I found the header file. And I edited it so that it's ok now.
But the problem is, that the changes are done to all my pages. But I only want to have it in my custom page.
Is this possible ?
kichik
15th October 2006 18:30 UTC
You can do what the MUI does to display the welcome page. Set RECT to 1044 in the Settings section of the INI file and hide all of the controls before showing the page itself. Check out the MUI_FUNCTION_WELCOMEPAGE macro in Contrib\Modern UI\System.nsh.
Defcon0
15th October 2006 19:11 UTC
How can I hide controls in the welcome page ?
kichik
15th October 2006 19:12 UTC
MUI_FUNCTION_WELCOMEPAGE shows you how.