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

  • IT decision support impacts all aspects of technology management, from governance and strategy to budgets and resource planning. IT decision support effectiveness often falls prey to data-driven challenges that make it difficult to understand the data in context. These challenges: overwhelming data volumes, heterogeneous data types, and growing data complexity. This Forrester Consulting Paper reports the three key findings from their study conducted, on behalf of BDNA, to test the hypothesis that data …

  • Packaged application development teams frequently operate with limited testing environments due to time and labor constraints. By virtualizing the entire application stack, packaged application development teams can deliver business results faster, at higher quality, and with lower risk.

Most Popular Programming Stories

More for Developers

Latest Developer Headlines

RSS Feeds