MFC analog clock rotation program
no vote
Application background 1, the clock program is according to the characteristics we usually come into contact with the general watch, clock made of the family. It includes a dial, a pointer (clockwise, minute hand, second hand).2, hour, minute and second hand appearance, even if the pointer coincidence is also recognizable.3. The movement of the pointer is correct. For ease of presentation, the clock speed should be 20 times faster than the actual time, that is, 1 hours is equivalent to 3 minutes.4, press the set time button or menu item can be a dialog box, used to set the current time and date.5, press the stopwatch control button, the stopwatch display starting from 0 time window, unit for one percent seconds. Press the stopwatch control button to stop time again, the window displays the total time. Key Technology Clock pointer movement algorithm, screen redraw, the timer messages, the mouse message, menu commands, dialog boxes, brush / brush,