Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Add "Blink" Attribute to Console Display

Status
Not open for further replies.

MikeCopeland

Programmer
May 21, 2007
91
US
I've written a library of Console functions (e.g. Write, GoToXY, ClrScr, etc.) that works for me. It displays colors, but I wish to add "Blink" to my functionality. For example, one of the (many) #defines I use is 0x00fe. I'd like to know what bit mask I should add to this value to achieve "blinking".
BTW, I googled "blink attribute C/C++", and although I got lots of hits, nothing I've tried works... Please advise. TIA
 
Do you have ansi.sys loaded? If you do, try esc [5m for slow blink or esc [6m for fast blink.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top