Click here to Skip to main content
15,923,120 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Menu shortcut keys Pin
Imtiaz Murtaza14-Oct-04 19:55
Imtiaz Murtaza14-Oct-04 19:55 
GeneralRe: Menu shortcut keys Pin
geo_m14-Oct-04 23:28
geo_m14-Oct-04 23:28 
Generalanalog clock Pin
Mr Bose Dayala14-Oct-04 18:01
Mr Bose Dayala14-Oct-04 18:01 
GeneralRe: analog clock Pin
ThatsAlok14-Oct-04 18:39
ThatsAlok14-Oct-04 18:39 
GeneralRe: analog clock Pin
Mr Bose Dayala14-Oct-04 19:27
Mr Bose Dayala14-Oct-04 19:27 
GeneralRe: analog clock Pin
ThatsAlok14-Oct-04 21:14
ThatsAlok14-Oct-04 21:14 
GeneralRe: analog clock Pin
Ryan Binns14-Oct-04 18:40
Ryan Binns14-Oct-04 18:40 
GeneralRe: analog clock Pin
V.14-Oct-04 22:46
professionalV.14-Oct-04 22:46 
I found one some months ago here on CP. have you looked here in the articles?

besides I don't think it should be so dificult to make.
think of what parts a clock consists (circle, lines, pointers,...) All of them are static accept the pointers, the base is static (center of the circle) while the point moves, it moves (for the seconds) 360/60 of the circle every second.

The only thing you need to do is to redraw this pointer every second on the right place.

Just know your geometry.;)

hope this helps...
[EDIT]
Oh by the way, I did analog meters for a car once, which worked perfectly, the one thing you may want to consider is buffering to reduce flicker. I did it as described above, but I don't have the code anymore Frown | :(
[/EDIT]

"If I don't see you in this world, I'll see you in the next one... and don't be late." ~ Jimi Hendrix
QuestionHow to pass data to and from two forms? Pin
V5Dave14-Oct-04 15:59
V5Dave14-Oct-04 15:59 
AnswerRe: How to pass data to and from two forms? Pin
Sujan Christo14-Oct-04 19:22
Sujan Christo14-Oct-04 19:22 
AnswerRe: How to pass data to and from two forms? Pin
Michael P Butler15-Oct-04 0:33
Michael P Butler15-Oct-04 0:33 
GeneralOwner-drawn CListBox-derived background color question Pin
Indrawati14-Oct-04 14:44
Indrawati14-Oct-04 14:44 
GeneralRe: Owner-drawn CListBox-derived background color question Pin
Mad__14-Oct-04 23:06
Mad__14-Oct-04 23:06 
GeneralRe: Owner-drawn CListBox-derived background color question Pin
Antony M Kancidrowski14-Oct-04 23:08
Antony M Kancidrowski14-Oct-04 23:08 
GeneralMaking an application non-resizable Pin
help_wanted14-Oct-04 14:42
help_wanted14-Oct-04 14:42 
GeneralRe: Making an application non-resizable Pin
Sujan Christo14-Oct-04 19:16
Sujan Christo14-Oct-04 19:16 
QuestionHow to close other processes? Pin
Moochie514-Oct-04 14:04
Moochie514-Oct-04 14:04 
AnswerRe: How to close other processes? Pin
Andrzej Markowski14-Oct-04 16:05
Andrzej Markowski14-Oct-04 16:05 
GeneralRe: How to close other processes? Pin
vikramlinux14-Oct-04 19:22
vikramlinux14-Oct-04 19:22 
GeneralRe: How to close other processes? Pin
Moochie515-Oct-04 6:27
Moochie515-Oct-04 6:27 
GeneralRe: How to close other processes? Pin
Andrzej Markowski15-Oct-04 7:04
Andrzej Markowski15-Oct-04 7:04 
GeneralRe: How to close other processes? Pin
Moochie515-Oct-04 8:14
Moochie515-Oct-04 8:14 
GeneralRe: How to close other processes? Pin
Andrzej Markowski15-Oct-04 9:32
Andrzej Markowski15-Oct-04 9:32 
GeneralRe: How to close other processes? Pin
Moochie515-Oct-04 10:53
Moochie515-Oct-04 10:53 
GeneralRe: How to close other processes? Pin
Moochie516-Oct-04 9:46
Moochie516-Oct-04 9:46 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.