Click here to Skip to main content
15,891,951 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have implemented an analog clock.I have a bitmap on top of which i am displaying the second hand,minute and the hour hand.But i am facing a problem here,whenever the second hand moves ,that part of the background image goes off.I tried to repaint the background image whenever the second hand moves but that does not help.Can anyone please provide a solution to this problem?

Thanks in advance.
Posted

1 solution

wrote:
I tried to repaint the background image whenever the second hand moves but that does not help


What does it mean, exactly? If you repaint the whole background (and then draw the second hand at new position) it may flicker, but it must definitely work.
:)
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900