rsegal
12th March 2003 20:47 UTC
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?
Joel
12th March 2003 20:57 UTC
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" 
    
      Joost Verburg
      12th March 2003 20:58 UTC
      It's a setting for the headerbitmap.
      
      !define MUI_HEADERBITMAP "image.bmp"
      !define MUI_HEADERBITMAP_RIGHT
     
    
      rsegal
      12th March 2003 22:03 UTC
      Roger that. Works great now. Thanks guys.
     
    
      matze84
      9th November 2004 17:00 UTC
      
      
        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
    
 
    
      pengyou
      9th November 2004 18:02 UTC
      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.
     
    
      matze84
      9th November 2004 18:15 UTC
      yeah, u'r right :up:
      
      thx a lot IT WORX