Old 17th October 2010, 14:52   #1
Netsurfer24
Senior Member
 
Join Date: Aug 2010
Posts: 104
Banner and timer/ blinking text [solved]

Hi,

I am looking for an easy solution or best method to let my banner text blink.

As a certain part of my installer the user has the option to do a full HDD scan (which may take several minutes). So after clicking the button which starts the scan I hide the main installer window and show a banner instead (visible in the taskbar, stays always on top).

The banner text actually is only changed/ updated when a certain entry is found. Now I would like to have the first text line to blink so that the user knows that the application is still working and has not hung up.

I already tried the nsDialog timer (does not work - I guess due to the hide of the window) and I also do not want to use another banner (plugin).

Can anybody give me a tip or a hint how to achieve this?
Or what I possibly made wrong with timer?


Addendum 1:
I changed my UI and added a progressbar to the banner. Now the question is "How to Create a Smooth Progress Bar control" (like in http://nsis.sourceforge.net/NsDialog...ss_Bar_control)?

Addendum 2:
OK, I solved it. I found the solution in this thread: http://forums.winamp.com/archive/ind.../t-291517.html

Gunther

Last edited by Netsurfer24; 17th October 2010 at 17:15.
Netsurfer24 is offline   Reply With Quote
Old 17th October 2010, 17:15   #2
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
http://nsis.sourceforge.net/Nxs_plug-in

Stu
Afrow UK is offline   Reply With Quote
Old 17th October 2010, 17:16   #3
Netsurfer24
Senior Member
 
Join Date: Aug 2010
Posts: 104
Stu,

thanks but I solved it by using the "normal" banner (see addendum 2 above).
Ah, still one additional question:
In the post (linked in my first post) is written
Quote:
In Windows XP or later you can set the progress bar in maraquee mode.
So what happens on NT/2000 systems?(Win <= 98 does not matter as it is not supported by my installer anyway)
Do I have to take care for those systems? May the code crash the installer or has it just no effect?

Gunther
Netsurfer24 is offline   Reply With Quote
Old 17th October 2010, 18:10   #4
Wizou
Senior Member
 
Join Date: Aug 2007
Location: Paris, France
Posts: 304
Sending a "standard" message that is not supported by an old version of Windows, or setting style bits that are not supported by a version of Windows, usually has no bad effects and is just ignored.

So go ahead. No need to take care of these cases.
Wizou is offline   Reply With Quote
Old 17th October 2010, 18:13   #5
Netsurfer24
Senior Member
 
Join Date: Aug 2010
Posts: 104
Thumbs up

Wizou,

Quote:
Originally Posted by Wizou View Post
... usually has no bad effects and is just ignored.
So go ahead. No need to take care of these cases.
puh, so I can breath easy ...!

Thanks for your answer!

Gunther
Netsurfer24 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