Description: This article describes how you can add a static control to show an analog clock. This control is derived from CStatic. First of all, add Clock.h and Clock.cpp files to your project. Select Resource tab from Workspace window, and select your dialog that you want to add an analog clock. Select Static Control from Control Toolbox and draw it on dialog (Figure 1). Change it s ID from IDC_STATIC to IDC_CLOCK.
- [kcsj] - Computer Principles of curriculum design
File list (Check if you may need any files):
Clock.cpp
Clock.h