home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / VSCPPv8.zip / VACPP / IBMCPP / samples / TOOLKIT / OS2 / TIMESERV / README < prev    next >
Text File  |  1995-06-08  |  3KB  |  89 lines

  1.  
  2.  
  3. TIMESERV - Timer Services
  4.  
  5.  
  6. DESCRIPTION:
  7.  
  8. This sample program displays both an analog and digital clock.  To
  9. simulate elapsed seconds, the main Presentation Manager thread
  10. repeatedly sets a one-second window timer that updates the current time.  TIMESERV
  11. features an audible and visual alarm that the user can set.  When the
  12. time expires, the sample makes use If the DOS timer services and notifies the
  13. user by sounding an alarm and displaying
  14. a message box.
  15.  
  16. TASK:
  17. This sample uses timing services to implement a PM Based clock.
  18.  
  19. CONCEPT/FEATURE:
  20. TIMESERV demonstrates how to use and implement window timers and
  21. system-resource timers.
  22.  
  23. SAMPLE LOCATION:
  24. Inside the OS/2 Sample Programs (which is inside the VisualAge C++ 
  25. Samples folder).
  26.  
  27. Note:This sample is not provided in project form.
  28.  
  29. SOURCE FILE LOCATION:
  30.  
  31. X:\ibmcpp\samples\toolkit\os2\timeserv
  32. where X: is the drive you installed the samples and document component
  33. of VisualAge C++ for OS/2.
  34.  
  35.  
  36. HOW TO RUN THE SAMPLE:
  37.  
  38. -From your OS/2 desktop:
  39.  Double-click on the sample's icon.
  40.  
  41. -From an OS/2 command prompt:
  42. To start a non-WorkPlace Shell sample program from an OS/2 command
  43. prompt, type the name of the executable file and press Enter.  If you
  44. have edited source code of a sample program and want to recompile,link,
  45. and run the files, use the NMAKE tool. Your output is the executable
  46. file.  For information about the NMAKE utility, see the
  47. OS/2 Tools Reference.
  48.  
  49.  
  50. SOFTWARE/HARDWARE PREREQUISITES:
  51.  
  52. - IBM VisualAge C++
  53. - OS/2 Warp
  54. - IBM or compatible 386 and up.
  55.  
  56. REQUIRED FILES     DESCRIPTIONS
  57.  
  58.   alarmthd.c        Alarm services
  59.   alarmthd.h
  60.   clkdata.c         Global data definitions
  61.   clkdata.h         Global data declarations
  62.   clock.c           Main() entry point of the clock program
  63.   clock.def         link definitions file
  64.   clock.dlg         Dialog resources
  65.   clock.exe         executable file
  66.   clock.h
  67.   clock.hlp         Help resources
  68.   clock.ico
  69.   clock.ipf
  70.   clock.rc          Resource compiler input
  71.   dialogs.c         dialog procedures
  72.   dialogs.h
  73.   digital.c         Routines for update of the clock face
  74.   dlg.ipf
  75.   help.c            Help manager interface routines
  76.   help.h
  77.   help.ipf
  78.   help.rc
  79.   paint.c           Routines for painting the clock
  80.   product.dlg
  81.   readme            This file
  82.   res.h
  83.   settings.ipf
  84.   tkclock.mak          MakeMake generated make file
  85.   udtime.c          Miscellaneous data/time functions
  86.   view.ipf
  87.   wndproc.c         Client window window procedure
  88.  
  89.