Archive: Header bitmap problem


Header bitmap problem
Recently got the latest changes to make use of the header bitmap. One problem though. The following does work for me

!define MUI_HEADERBITMAP "image.bmp"

But the following does not,

!define MUI_HEADERBITMAP_RIGHT "image.bmp"

Any thoughts?


the !define MUI_HEADERBITMAP_RIGHT only align the bitmap to the right
so you might do this:


!define MUI_HEADERBITMAP_RIGHT
!define MUI_HEADERBITMAP "C:\path\top.bmp"

It's a setting for the headerbitmap.

!define MUI_HEADERBITMAP "image.bmp"
!define MUI_HEADERBITMAP_RIGHT


Roger that. Works great now. Thanks guys.


Originally posted by Joost Verburg
It's a setting for the headerbitmap.

!define MUI_HEADERBITMAP "image.bmp"
!define MUI_HEADERBITMAP_RIGHT
it doesn't work...

i've to use it this way ->


!define MUI_HEADERBITMAP
!define MUI_HEADERBITMAP_BITMAP "image.bmp"


why i can't write just


!define MUI_HEADERBITMAP "image.bmp"


:question:

and

!define MUI_HEADERBITMAP_RIGHT


doesn't work in anyway.. before or below !define MUI_HEADERBITMAP

WHY WHY WHY.. pls help me, thx

Are you using the latest version of NSIS (2.02) ?

The current version of the MUI does not use MUI_HEADERBITMAP it uses MUI_HEADERIMAGE. So if you want a header image at the right-hand side of the header you should use the commands:

!define MUI_HEADERIMAGE
!define MUI_HEADERIMAGE_BITMAP "image.bmp"
!define MUI_HEADERIMAGE_RIGHT

The MUI is always being improved and sometimes you need to change old scripts a little to make them work with the current MUI version. To find out more about the MUI, read the MUI ReadMe and look at the MUI script examples which come with NSIS.


yeah, u'r right :up:

thx a lot IT WORX