CClockCtrl v1.12

Welcome to CClockCtrl, an MFC widget which renders an analog clock. The class is based in part on the class of the same name from the book "MFC Programming with Visual C++ 6.0". The class is derived from CStatic and a number of public methods allow customisation of its look. A demo app is provided which demos the control as shown below:

 

Features
History
Usage
Contacting the Author

 

 

History

v1.12 (7 May 2022)

v1.11 (5 April 2020)

v1.10 (26 December 2019)

v1.09 (28 September 2019)

v1.08 (3 June 2019)

v1.07 (29 December 2018)

v1.06 (31 December 2016)

v1.05 (23 March 2002)

v1.04 (11 August 2001)

v1.03 (1 August 2001)

v1.02 (27 July 2001)

v1.01 (16 February 2000)

v1.0 (1 February 2000)

 

 

 

Usage

To use CClockCtrl in your project simply include ClockCtrl.cpp/h from the test application in your application and #include "ClockCtrl.h" in whichever files you want to use the class in. You can then use the class just like you would use an ordinary static control anywhere. The public methods CClockCtrl should be pretty self explanatory by having a look at the CClockCtrl header file.

You should also have a look at the CPJClockView::OnCreate() code in the sample application.

 

 

 

Contacting the Author

PJ Naughter
Email: pjna@naughter.com
Web: http://www.naughter.com
7 May 2022