Go Back   Winamp Forums > Developer Center > NSIS Discussion

Reply
Thread Tools Search this Thread Display Modes
Old 13th September 2004, 21:59   #1
Humudce_BB
Junior Member
 
Join Date: Sep 2004
Posts: 2
Adding Graphics to the MUI_PAGE_COMPONENTS page

Is there any way for me to add say a Thumbnail image of the Optional Component instead of the Text that appears in the Description Box.

For example in my installation I give the user the choice of installing a number of Windows Pointers. It would be nice if I could show a thumbnail bitmap of the pointer.

Is this possible what code would I need to change or would I need to make a new Component Page to do this?
Humudce_BB is offline   Reply With Quote
Old 14th September 2004, 14:13   #2
Joel
Debian user
(Forum King)
 
Joel's Avatar
 
Join Date: Jan 2003
Location: Arch land
Posts: 4,896
Possible only when re-compiling the UI holder, with the current conpilation, I don't think so.

But yes, you can create your own page as components dialog.


* PC: Intel Core 2 DUO E6550 @ 2.33 GHz with 2 GB RAM: Archlinux w/ xfce4.
* Laptop: Intel Core 2 DUO T6600 @ 2.20 GHz with 4 GB RAM: Debian unstable w/ xfce4.
Joel is offline   Reply With Quote
Old 14th September 2004, 19:13   #3
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,337
You can edit the UI file (Contrib\UIs\modern.exe) with Resource Hacker and tell MUI to use the new one using the MUI_UI define. Then you can use System.dll and SendMessage to set the image. There are examples of setting images in the forum and a big one in the Archive, if I recall correctly.

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik is offline   Reply With Quote
Reply
Go Back   Winamp Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump