For this month C Users Group meeting, I have added the ability to change the size of the timer window. As shown in the above image, the timer can be adjusted to be any size from very tiny to full screen and everywhere in between. The windows and the digits are mathematically scaled to obtain the desired size. At the meeting, we will review the original code and then discuss the details of the new code. There is a large display for numbers over an inch high.
Several buttons provide start and stop functions.
In addition to the new sizing feature, other extra features of this timer include the ability to start the timer from the command line such as in the middle of a batch program and to an identify the timer so that more than one event can be timed. Just for fun, I wrote a simple batch program that starts 36 timers at once. It does so by looping through all of the windows on the screen and checking the title of each window to see if it may be a timer. As it does this, it records the title in a special data file listing for later display. In addition to its mentioned utility, this program uses some unusual system calls in order to find the information.