Old 6th August 2019, 11:57   #1
DivyaArun
Junior Member
 
Join Date: Jul 2019
Posts: 30
Showing a png image to display progress bar status

Hi,

I have a progress bar that stops upon finishing a particular task. I have a requirement where I need to show a green tick mark once the progress bar completes and red cross mark in case of any error. I tried with Create_Bitmap, NSD_Set Image , but since it doesn't support png images, I am not able to use it. Moreover such error and done images are usually having transparent background.

Please suggest what is the easiest way.

Thanks.
DivyaArun is offline   Reply With Quote
Old 6th August 2019, 13:41   #2
Anders
Moderator
 
Anders's Avatar
 
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,178
Convert your .png to .ico

IntOp $PostCount $PostCount + 1
Anders is offline   Reply With Quote
Old 8th August 2019, 12:15   #3
DivyaArun
Junior Member
 
Join Date: Jul 2019
Posts: 30
Quote:
Originally Posted by Anders View Post
Convert your .png to .ico
Hi,

I was able to achieve the same using .ico file and using NSD_CreateIcon

Thanks
DivyaArun is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast 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