Go Back   Winamp Forums > Developer Center > NSIS Discussion

Reply
Thread Tools Search this Thread Display Modes
Old 20th July 2004, 16:45   #1
paul_fx
Junior Member
 
Join Date: Jul 2004
Location: Somewhere
Posts: 8
Display BMP

Hi there,
Im using the code from http://nsis.sourceforge.net/archive/...nstances=0,167

If i put
!insertmacro DisplayImage "F:\Documents and Settings\image.bmp"

as hte first line of my first section, the image displays properly. But if i put it at the start of any other sections, the image is not drawn. Is it possible to use this code in this fashion?? Im trying to change the image as different things are installed.
paul_fx is offline   Reply With Quote
Old 20th July 2004, 17:10   #2
zimsms
Senior Member
 
zimsms's Avatar
 
Join Date: Jan 2004
Location: London, Ontario, Canada
Posts: 272
You will need to use the system plugin to refresh the window.
zimsms is offline   Reply With Quote
Old 21st July 2004, 12:25   #3
paul_fx
Junior Member
 
Join Date: Jul 2004
Location: Somewhere
Posts: 8
Quote:
You will need to use the system plugin to refresh the window.
Soemthing like this?

System::Call "User32::UpdateWindow($HWNDPARENT)"

except that doesn't work
paul_fx is offline   Reply With Quote
Old 21st July 2004, 12:33   #4
zimsms
Senior Member
 
zimsms's Avatar
 
Join Date: Jan 2004
Location: London, Ontario, Canada
Posts: 272
Have you looked at the gfx.nsi example included with NSIS?
zimsms is offline   Reply With Quote
Old 22nd July 2004, 17:57   #5
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,338
System::Call "User32::UpdateWindow(i $HWNDPARENT)"

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