home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CICA 1995 May
/
cica_0595_4.zip
/
cica_0595_4
/
UTIL
/
WIN16TMR
/
README.TXT
< prev
next >
Wrap
Text File
|
1994-07-25
|
4KB
|
107 lines
-----------------------------
Windows Timer v1.1:
-----------------------------
This program is released as shareware, hence it comes with all the liabilities
and requirements of shareware.
!!!!!!!!!!!!!!!! (Please see "Special Offer" below). !!!!!!!!!!!!!!!!
-----------------------------
Author:
-----------------------------
Sammy A. Haroon
579-G Northridge Road
Dunwoody, GA 30350, USA
Internet: saharoon@crl.com
-----------------------------
What is Windows Timer:
-----------------------------
Windows Timer started out as a solution to launch DOS programs by setting a
timer. The Windows version was the result of the desire to learn Borland's
OWL 1.0.
WIN32TMR.EXE is going to be available soon. It will be written in
Visual C++ v2.0.
-----------------------------
Installation:
-----------------------------
Simply copy WIN16TMR.EXE to the desired location. Check to see if you have
CTL3D.DLL in your \WINDOWS\SYSTEM directory. If not, copy CLT3D.DLL
provided with the WIN16TMR.ZIP into \WINDOWS\SYSTEM directory.
-----------------------------
Help:
-----------------------------
Windows Timer should be self explanatory. This program tries to follow the
UI standards in use by Windows today.
How to queue a file for execution:
Click on NEW in the main window. Either you can type the name of the file
you desire to be executed at a particular point in time or you can select
BROWSE to locate a file and select it. You can provide additional arguments
to the program that you are trying to execute. You can either set
the time using the timer or the clock.
SAVE and ADD:
The SAVE option will save your settings and write them to the WIN16TMR.INI
file. Next time you start the program, your saved settings will take effect
and the saved file will be automatically queued for execution. Note that
if you use the clock to set the timer, Windows Timer will find the
difference between the present time and the time you want the file to be
executed and begin the count down as such. The ADD option will add the
selected file to the queue of the files to be executed.
REMOVE and EDIT:
The REMOVE and EDIT buttons are only available when you highlight a file in
the list box. REMOVE will delete the selected file out of the queue of
file(s). EDIT will allow you to change the execution time and additional
arguments for the selected file.
EDIT SAVED SETTINGS:
You can edit your saved settings directly by clicking on this button. The
only options that are available to you from the edit box are 1) you can view
your settings by clicking on a particular file in the list box, 2) REMOVE
a file from the list of file(s) to be saved.
Highlighting a file in the main window's list box will provide detailed
information on the the parameters for the selected file.
-----------------------------
Technical Notes:
-----------------------------
I encountered a few difficulties:-
(1) My main window was a dialog box. This resulted in a few little quirks,
for example, how do I make the dialog box the main window. Or, when the
application is being closed, which function should be over-ridden to
validate data.
(2) To keep from having to send a copy of BWCC.DLL (size: 152K) with every
copy of Windows Timer, I decided to use 3D controls. The version of
CTL3D.DLL (size: 20K), which I have used, is being shipped with Windows
these days.
(3) It took a few tries to install 3D controls on the main window, as it is
a dialog box. Automatic sub-classing of 3D controls does not take place
for the main window when it is a dialog box.
-----------------------------
Special Offer:
-----------------------------
If you register Windows Timer, I will be more than happy to send you a copy
of the complete code. I have tried to use a few interesting OOP techniques,
but you will find C style code hanging around also.
It would be great if someone could take the code and use the string class
to avoid all generic string manipulations.