?
Solved

Stop blinking on textbox or other refreshes

Posted on 2003-11-24
5
Medium Priority
?
298 Views
Last Modified: 2012-05-04
i have a digital time clock that displays at the top of my screen and runs on top of all applications. i have noticed with this program and many others that when you refresh something on a regular time-base (every second)...it blinks every once in a while.

why does it blink sometimes and not all the time? is there anyway to stop it from blinking.

i have also made many progress bars by using a colored textbox lying within a picturebox. when the progress goes up, it blinks. this is just another example.

your help is appreciated...thanks,
jeremy
0
Comment
Question by:Jeremy Daley
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
5 Comments
 

Accepted Solution

by:
SeeOne earned 90 total points
ID: 9815082
It sounds like you're referring to flicker.  When you have something that is constantly being updated, Windows has to constantly redraw the control with the new values.  Sometimes, depending on the power of your CPU, you see that drawing effect as it updates.

Depending on the control you use, there may be various ways to reduce the flicker, but usually, especially with constantly updated textboxes or labels, you will see that flicker every now and then no matter what.
0
 

Expert Comment

by:SeeOne
ID: 9815090
Forgot to mention, it really varies depending on your CPU power, the more powerful your computer is, and the more resources you have free, the less that flicker becomes evident.
0
 
LVL 76

Assisted Solution

by:GrahamSkan
GrahamSkan earned 60 total points
ID: 9816866
If you're not showing seconds, don't update it every second. Check whether the minute has changed & only update it when necessary.
0
 
LVL 4

Author Comment

by:Jeremy Daley
ID: 10166996
the thing is, this clock needs to update every second because it is relevant to a computer timecard, and every second is important to an employee. i'll just split this one.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Suggested Courses

650 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question