Clock Designer in VC++
Rate this article
0 out of 5
I'm here introducing a VC++ project called Clock Designer.This article shows how to create a basic VC++ SDI application using Visual Studio....


I am a postgraduate in Computer application.I got a chance to study VC++ language recently.I felt it very interesting, because VC++ is very easy to learn and we could create very attractive and effective applications using VC++.I'm here introducing a  project named "Clock Designer". First of all it is a very simple windows application, and for a beginner it will be very helpful.In this project I designed a clock using "OnDraw" function and it displays in three different sizes using a dialog box.This application is developed using Visual studio.

Screen Shot


This article assumes that you have some basic knowledge in C++ concepts including class, function, member variable, constructor etc.

Basic Work Flow Diagram

Using the project

You can open the project both in Visual Studio 6.0 and Visual Studio 2005.

To open the project in Visual Studio 6.0:
  1. Open the project folder and explore “.dsw” extension file.
  2. Click “Build All” button to compile the project and then click the “Execute” button to display the output.
  3. You can view and edit the project as the main source code is given in in ‘CClockDesignerView and CClockDesignerDlg’  classes.
To open the project in Visual Studio 2005:
  1. Open the project folder and explore “.sln” extension file.
  2. Click “Build Project” button from “Build” Menu to compile the project and then click “Start Debugging” button from “Debug” Menu to display the output.

Points of Interest

Some of the used features and classes of VC++ in this project are: MFC App Wizard, Single Document Interface , SDI Application, CWinApp, CView, CDocument,  CFrameWnd , CString, CDC , CDialog, CComboBox , Visual Studio 6.0,Visual Studio 2005,Graphics.


02/07/2012 - Article Created

Please download the source code and the associated project binaries form the below link and try experimenting with the source code and binaries.

Clock Designer Source

Clock Designer Binaries

Post Your Comments
Name (Max 50 Chars)

Academic Projects

Site optimized for IE7, 1280 X 768 and above. Copyright © 2010 - 2018 KTS InfoTech
Site Developed Using KTS WebCloud