Click here to Skip to main content
15,913,722 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: CFindFile? Pin
Rassman20-Nov-01 22:03
Rassman20-Nov-01 22:03 
GeneralOwndraw scrollbars question Pin
Osykin Roman20-Nov-01 20:40
Osykin Roman20-Nov-01 20:40 
GeneralRe: Owndraw scrollbars question Pin
moliate21-Nov-01 5:42
moliate21-Nov-01 5:42 
GeneralRe: Owndraw scrollbars question Pin
Osykin Roman21-Nov-01 11:39
Osykin Roman21-Nov-01 11:39 
GeneralClock display Pin
smeckenfill20-Nov-01 19:34
smeckenfill20-Nov-01 19:34 
GeneralRe: Clock display Pin
Member 2362220-Nov-01 19:53
Member 2362220-Nov-01 19:53 
GeneralRe: Clock display Pin
kakuni27-Nov-01 9:11
kakuni27-Nov-01 9:11 
GeneralRe: Clock display Pin
Andrew Peace21-Nov-01 14:44
Andrew Peace21-Nov-01 14:44 
To draw the clock face you'll probably have to resort to trigonomentry. You might be able to precalculate some values, though I doubt it.

If you want something more complicated than simple lines you have to create a vector image then rotate the points. I think Joseph M Newcomer has written an article on this.. but it's late so I'll leave you to find it Smile | :) .

Remember -
sin x = OPP/HYP
cos x = ADJ/HYP
tan x = OPP/ADJ.
You can use the radius of your clock minus some value (to get the correct size so you don't draw over the numbers of the clockface) for the length of the hypotenuse (sic?).

--
Andrew.
GeneralRe: Clock display Pin
kakuni27-Nov-01 9:14
kakuni27-Nov-01 9:14 
GeneralCEdit - A Simple Question Pin
Xavier Shay20-Nov-01 19:20
Xavier Shay20-Nov-01 19:20 
GeneralRe: CEdit - A Simple Question Pin
Fredrik Skog3-Dec-01 22:31
Fredrik Skog3-Dec-01 22:31 
Generaldifferent outlook on different pc. Pin
zecodela20-Nov-01 16:41
zecodela20-Nov-01 16:41 
GeneralRe: different outlook on different pc. Pin
Alvaro Mendez20-Nov-01 17:59
Alvaro Mendez20-Nov-01 17:59 
GeneralCode bloat! Pin
Todd Smith20-Nov-01 14:12
Todd Smith20-Nov-01 14:12 
Generalcreating a new doc, the sequel Pin
robbied20-Nov-01 12:51
robbied20-Nov-01 12:51 
GeneralRe: creating a new doc, the sequel Pin
Christian Graus20-Nov-01 13:07
protectorChristian Graus20-Nov-01 13:07 
GeneralRe: creating a new doc, the sequel Pin
robbied20-Nov-01 15:15
robbied20-Nov-01 15:15 
GeneralRe: creating a new doc, the sequel Pin
Christian Graus20-Nov-01 15:24
protectorChristian Graus20-Nov-01 15:24 
GeneralRe: creating a new doc, the sequel Pin
robbied20-Nov-01 16:03
robbied20-Nov-01 16:03 
GeneralRe: creating a new doc, the sequel Pin
Christian Graus20-Nov-01 16:11
protectorChristian Graus20-Nov-01 16:11 
General::SetDIBitsToDevice problem Pin
Joel Holdsworth20-Nov-01 10:59
Joel Holdsworth20-Nov-01 10:59 
GeneralRe: ::SetDIBitsToDevice problem Pin
Chris Hafey20-Nov-01 15:41
Chris Hafey20-Nov-01 15:41 
GeneralRe: ::SetDIBitsToDevice problem Pin
Chris Hafey20-Nov-01 16:15
Chris Hafey20-Nov-01 16:15 
QuestionSimple menu??? Pin
habebe20-Nov-01 10:36
habebe20-Nov-01 10:36 
AnswerRe: Simple menu??? Pin
John Clump22-Nov-01 21:11
John Clump22-Nov-01 21:11 

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.