flashing characters (without clearing the screen)

Please support our C++ advertiser: Intel Parallel Studio Home
Thread Solved

Join Date: Nov 2008
Posts: 18
Reputation: maxicube is an unknown quantity at this point 
Solved Threads: 0
maxicube maxicube is offline Offline
Newbie Poster

flashing characters (without clearing the screen)

 
0
  #1
Nov 21st, 2008
OK, I'm making a backup application and once the backup is complete, I want it to flash
FINISHED!!!! - in different colours - any help at all would be appreciated, thanks - MaxICube
Reply With Quote Quick reply to this message  
Join Date: Aug 2007
Posts: 1,678
Reputation: vmanes is a splendid one to behold vmanes is a splendid one to behold vmanes is a splendid one to behold vmanes is a splendid one to behold vmanes is a splendid one to behold vmanes is a splendid one to behold vmanes is a splendid one to behold 
Solved Threads: 193
vmanes's Avatar
vmanes vmanes is offline Offline
Posting Virtuoso

Re: flashing characters (without clearing the screen)

 
0
  #2
Nov 21st, 2008
Check out this sample
"We Americans got so tired of being thought of as dumb by the rest of the world that we went to the polls last November and removed all doubt."
~~~~~~~~~~~~~~~~~~
Looking for an exciting graduate degree? Robotics and Intelligent Autonomous Systems (RIAS) at SDSM&T See the program brochure here.
Reply With Quote Quick reply to this message  
Join Date: May 2006
Posts: 3,114
Reputation: WaltP has much to be proud of WaltP has much to be proud of WaltP has much to be proud of WaltP has much to be proud of WaltP has much to be proud of WaltP has much to be proud of WaltP has much to be proud of WaltP has much to be proud of WaltP has much to be proud of 
Solved Threads: 281
Moderator
WaltP's Avatar
WaltP WaltP is offline Offline
Posting Sensei

Re: flashing characters (without clearing the screen)

 
0
  #3
Nov 21st, 2008
I wouldn't do it. Flashing a message in different colors is one of the most obnoxious things you can do to a user IMO.
The 3 Laws of the Procrastination Society:
1) Never do today that which can be put off until tomorrow
2) Tomorrow never comes
Reply With Quote Quick reply to this message  
Join Date: Aug 2007
Posts: 1,678
Reputation: vmanes is a splendid one to behold vmanes is a splendid one to behold vmanes is a splendid one to behold vmanes is a splendid one to behold vmanes is a splendid one to behold vmanes is a splendid one to behold vmanes is a splendid one to behold 
Solved Threads: 193
vmanes's Avatar
vmanes vmanes is offline Offline
Posting Virtuoso

Re: flashing characters (without clearing the screen)

 
0
  #4
Nov 21st, 2008
Originally Posted by WaltP View Post
I wouldn't do it. Flashing a message in different colors is one of the most obnoxious things you can do to a user IMO.
Right up there with websites that play music, and don't put an obvious off button at the top.
"We Americans got so tired of being thought of as dumb by the rest of the world that we went to the polls last November and removed all doubt."
~~~~~~~~~~~~~~~~~~
Looking for an exciting graduate degree? Robotics and Intelligent Autonomous Systems (RIAS) at SDSM&T See the program brochure here.
Reply With Quote Quick reply to this message  
Join Date: Nov 2008
Posts: 18
Reputation: maxicube is an unknown quantity at this point 
Solved Threads: 0
maxicube maxicube is offline Offline
Newbie Poster

Re: flashing characters (without clearing the screen)

 
0
  #5
Nov 21st, 2008
oh well its at the end, so it distracts you from other work to press ok, (like an ad)
and that sample didnt realy compile for me (im using code::blocks)

  1. C:\Users\Maxicube\Desktop\c++\winsock\main.cpp||In function `void textcolor(int, int, int)':|
  2. C:\Users\Maxicube\Desktop\c++\winsock\main.cpp|34|warning: left-hand operand of comma has no effect|
  3. C:\Users\Maxicube\Desktop\c++\winsock\main.cpp|34|warning: right-hand operand of comma has no effect|
  4. C:\Users\Maxicube\Desktop\c++\winsock\main.cpp|34|warning: right-hand operand of comma has no effect|
  5. C:\Users\Maxicube\Desktop\c++\winsock\main.cpp|34|warning: right-hand operand of comma has no effect|
  6. C:\Users\Maxicube\Desktop\c++\winsock\main.cpp|34|warning: right-hand operand of comma has no effect|
  7. C:\Users\Maxicube\Desktop\c++\winsock\main.cpp|35|warning: right-hand operand of comma has no effect|
  8. ||=== Build finished: 0 errors, 6 warnings ===|
  9.  

well it did compile but...
this is all that pops up:
  1. 40%sIn color
  2. 40%s
  3. Process returned 0 (0x0) execution time : 0.047 s
  4. Press any key to continue.

-- EDIT i should look further down the page next time --- SOLVED!!!!
Last edited by maxicube; Nov 21st, 2008 at 5:41 am.
Reply With Quote Quick reply to this message  
Join Date: Aug 2007
Posts: 1,678
Reputation: vmanes is a splendid one to behold vmanes is a splendid one to behold vmanes is a splendid one to behold vmanes is a splendid one to behold vmanes is a splendid one to behold vmanes is a splendid one to behold vmanes is a splendid one to behold 
Solved Threads: 193
vmanes's Avatar
vmanes vmanes is offline Offline
Posting Virtuoso

Re: flashing characters (without clearing the screen)

 
0
  #6
Nov 21st, 2008
-- EDIT i should look further down the page next time --- SOLVED!!!!
Ooops, my bad - I should have pointed out the solution was lower on the page.
"We Americans got so tired of being thought of as dumb by the rest of the world that we went to the polls last November and removed all doubt."
~~~~~~~~~~~~~~~~~~
Looking for an exciting graduate degree? Robotics and Intelligent Autonomous Systems (RIAS) at SDSM&T See the program brochure here.
Reply With Quote Quick reply to this message  
Join Date: Nov 2008
Posts: 18
Reputation: maxicube is an unknown quantity at this point 
Solved Threads: 0
maxicube maxicube is offline Offline
Newbie Poster

Re: flashing characters (without clearing the screen)

 
0
  #7
Nov 21st, 2008
no probs dude, it works fantastically well +rep
Reply With Quote Quick reply to this message  
Reply

This thread has been marked solved.
Perhaps start a new thread instead?
Message:



Other Threads in the C++ Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC