An Owner Drawn Clock Control VB5/6

This code shows how to create your own Analogue clock control in Visual Basic 5 / 6 - no other controls other than the standard VB controls are used.

screen-shot

Clock Control

PROJECT NAME
 	Demo.vbg (group)

PURPOSE
	Making a clock or watch that can be set with or read from
	hour- or minute-hands.

ENVIRONMENT
	This is a VB5 project, which will run under Windows 9x.
	No other than basic VB-controls are used.

YOU CAN LEARN
	Something about making your own controls.
	...
COPYRIGHT
	None. I made the code myself and everybody is free
	to use it.

RUNTIME FILES
	none

CODE FILES
	Demo.vbg

	stClockCtl.vbp/.vbw
		stClock.ctl/.ctx
		APImodule.bas

	ClockDemo.vbp/.vbw
		frmDemo.frm
		frmClock.frm/.frx
		frmChrono.frm/.frx

	clock.bmp
	clock.ico

Download Zipped Project Files (11k)



Comments

  • Great Code

    Posted by Legacy on 11/19/2003 12:00am

    Originally posted by: Sudhir

    Thank u very much for the code.As i am new to OCX,It helped me a lot to build my own ocx controls

    Reply
  • Thanks too

    Posted by Legacy on 11/11/2003 12:00am

    Originally posted by: Hajo

    Verny nice - THX !

    Reply
  • Good One

    Posted by Legacy on 05/10/2003 12:00am

    Originally posted by: Prasanna Nair

    Really good one..

    was looking out for something very similar to this..

    thanks anyways - prasanna

    Reply
  • Thanks

    Posted by Legacy on 02/05/2003 12:00am

    Originally posted by: Victor R

    Thanks

    Reply
  • Thanks a lot

    Posted by Legacy on 01/14/2003 12:00am

    Originally posted by: wzs

    Thanks...was just what i needed...cool.

    Reply
  • . ..ditto

    Posted by Legacy on 05/30/2002 12:00am

    Originally posted by: aku

    thank you much for the code=)

    Reply
  • Cool code

    Posted by Legacy on 06/14/2001 12:00am

    Originally posted by: balak yap

    Thanks for the code...

    Reply
Leave a Comment
  • Your email address will not be published. All fields are required.

Top White Papers and Webcasts

  • Live Event Date: November 20, 2014 @ 2:00 p.m. ET / 11:00 a.m. PT Are you wanting to target two or more platforms such as iOS, Android, and/or Windows? You are not alone. 90% of enterprises today are targeting two or more platforms. Attend this eSeminar to discover how mobile app developers can rely on one IDE to create applications across platforms and approaches (web, native, and/or hybrid), saving time, money, and effort and introducing apps to market faster. You'll learn the trade-offs for gaining long …

  • IBM Worklight is a mobile application development platform that lets you extend your business to mobile devices. It is designed to provide an open, comprehensive platform to build, run and manage HTML5, hybrid and native mobile apps.

Most Popular Programming Stories

More for Developers

Latest Developer Headlines

RSS Feeds