Archive: Insert a Gif to TextArea


Insert a Gif to TextArea
I want to insert a gif image (or any other image format but gif is preferred) to a the text area of the MUI FINISH PAGE


You cannot add a gif, but you can add an icon.
You need to add an Icon field to ioSpecial.ini before displaying the page:
http://forums.winamp.com/showthread....=iospecial.ini

Stu


I tried the following code but it doesn't seem to work


!define MUI_PAGE_CUSTOMFUNCTION_PRE fin_pre
!insertmacro MUI_PAGE_FINISH

Function fin_pre

WriteINIStr "$PLUGINSDIR\iospecial.ini" "Settings" "NumFields" "6"

WriteINIStr "$PLUGINSDIR\iospecial.ini" "Field 6" "Type" "Icon"
WriteINIStr "$PLUGINSDIR\iospecial.ini" "Field 6" "Text" "MyIcon.ico"
WriteINIStr "$PLUGINSDIR\iospecial.ini" "Field 6" "Left" "120"
WriteINIStr "$PLUGINSDIR\iospecial.ini" "Field 6" "Right" "200"
WriteINIStr "$PLUGINSDIR\iospecial.ini" "Field 6" "Top" "70"
WriteINIStr "$PLUGINSDIR\iospecial.ini" "Field 6" "Bottom" "100"
WriteINIStr "$PLUGINSDIR\iospecial.ini" "Field 6" "Flags" "RESIZETOFIT"
FunctionEnd

Make sure you specify the full path to the icon, i.e. $PLUGINSDIR\MyIcon.ico and make sure that you extract it at run time with File.

Stu


I tried it but nothing helps
what should be the output path for the extraction?
I did the extraction in the fin_pre function does it matter?

Is there anything that should be done in the MUI_PAGE_CUSTOMFUNCTION_SHOW ?

Thanks for the quick replies


ReserveFile MyIcon.ico
File "/oname=$PLUGINSDIR\MyIcon.ico" MyIcon.ico
WriteINIStr "$PLUGINSDIR\iospecial.ini" "Field 6" "Text" "$PLUGINSIDR\MyIcon.ico"


You may also want to make sure that no other controls (fields) are covering this one up.

Stu

You can also test ebanner plug-in. Or AnimGif from the same section.


Thanks
i guess it works now
It did demand a bit of playing with the location of other components on the finish page