How can i make a analogic clock in assembler?

Can you help me?

Thanks
Posted on 2005-04-06 11:37:16 by SepulRise
Use a bitmap like the following:


and then Create a pen (CreatePen) and use MoveToEx to set the pen in the middle of the dial and draw a line using LineTo to whatever the hour is. And you do the same for the minute line.

Doesn't sound that hard. 360 degrees for 60 minutes/seconds. == 6 degrees radius change per minute or second.
__________________________________________________________________________________________
Ron Cornucopia @ http://www.rbthomas.freeserve.co.uk/ has an analog clock in his Download section
Posted on 2005-04-06 12:03:32 by JimmyClif
Ok.

But how i make the source code for this? I dont understand i will make this.
Posted on 2005-04-06 13:24:12 by SepulRise
I see the example of the Ron Cornucopia @ http://www.rbthomas.freeserve.co.uk/ has an analog clock in his Download section.

This example is for the win32asm. I work with the MASM613, and some functions dont work with this program.

Posted on 2005-04-06 13:33:11 by SepulRise