Loading…
Understanding Timer and Common Dialog Controls and their Applications to Mechanics and GDI
Colours create beauty; nature is soaked in diverse colours. The primary colours, Red (R), Green (G) and Blue (B) are fundamental colours from which other colours are derived. The painter basic colours of R, Y and B are still derived from primary colours when one realizes that Yellow, Y = R + G. This...
Saved in:
Published in: | International journal of computer applications 2013-01, Vol.73 (4), p.42-49 |
---|---|
Main Author: | |
Format: | Article |
Language: | English |
Subjects: | |
Online Access: | Get full text |
Tags: |
Add Tag
No Tags, Be the first to tag this record!
|
Summary: | Colours create beauty; nature is soaked in diverse colours. The primary colours, Red (R), Green (G) and Blue (B) are fundamental colours from which other colours are derived. The painter basic colours of R, Y and B are still derived from primary colours when one realizes that Yellow, Y = R + G. This paper discusses common dialog and timer controls. The unsurpassed significance of common dialog controls was clearly depicted in their applications to Mechanics, Graphics Device Interface Plus (GDI+) and in showing 128 system-defined colours automatically using timer control and manually through colour dialog box. Provision for colour combinations enables over sixteen million colours above the system-defined colours to be displayed as different intensity levels are assigned to the primary colours values between 0-255 via Color. FromArgb method. The robust functionalities of the customized colour control developed with Microsoft Windows Control Library were exposed in a client application, WhatSoft to manipulate various displays of colours. Further applications of timer and colours are made to GDI+. This prompted the development of classes for rectangle and square that are hosted in a namespace, dvShapes. A class library was developed for ten mechanics models and its functionalities were exposed in MechSoft application. Software developers will find the customized colour control useful in their work. Tutors will find WhatSoft and MechSoft packages indispensable in teaching and learning. |
---|---|
ISSN: | 0975-8887 0975-8887 |
DOI: | 10.5120/12732-9583 |