home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / power.zip / TEST.RCH < prev   
Text File  |  1994-11-09  |  3KB  |  54 lines

  1. #define EF_TEST                     101
  2. #define DLG_APP_TEST                1000
  3. #define DLG_THREAD                  2000
  4. #define PB_OK                       1001
  5. #define PB_CANCEL                   1002
  6. #define PB_THREAD_1                 1003
  7. #define PB_THREAD_2                 1004
  8. #define PB_NO_THREAD                1005
  9. #define EF_NUMBER                   1006
  10. #define TX_INFO                     1007
  11. #define TX_HELP                     1010
  12. #define FRAME_WAIT                  1011
  13. #define PB_THREAD_3                 1012
  14. #define TX_APP_NAME                 1013
  15. #define TX_COPYRIGHT                1014
  16. #define TX_CONTACT_INFO1            1015
  17. #define TX_CONTACT_INFO2            1016
  18. #define TX_CONTACT_INFO3            1017
  19. #define TX_CONTACT_INFO4            1018
  20.  
  21. #define BMP_RUN1                    2000
  22. #define BMP_RUN2                    2001
  23. #define BMP_RUN3                    2002
  24. #define BMP_RUN4                    2003
  25. #define BMP_RUN5                    2004
  26. #define BMP_RUN6                    2005
  27. #define BMP_RUN7                    2006
  28. #define BMP_RUN8                    2007
  29. #define BMP_RUN9                    2008
  30. #define BMP_RUN10                   2009
  31.  
  32. #define POWER_INFO "This is a demonstration of the three types of PowerThreads:\n\n\
  33. Thread type 1 uses the HAB to process messages while the thread is running.\n\n\
  34. Thread type 2 uses a dialog to process messages.  The dialog also displays a running/wait message. \n\n\
  35. Thread type 3 uses a dialog to process messages, much like type 2, except the thread is started in the dialog.\n\n\
  36. No thread shows how PM locks if a PowerThread is not used.\n\n\
  37. For more information, please read THREADS.DOC, or look at the included source code."
  38.  
  39. #define HTX_DLG_APP_TEST     "This program Tests PowerThreads."
  40. #define HTX_PB_THREAD_1      "Run PowerThread Test #1  - PowerHABTest()"
  41. #define HTX_PB_THREAD_2      "Run PowerThread Test #2  - PowerTest()"
  42. #define HTX_PB_THREAD_3      "Run PowerThread Test #3  - PowerTest2()"
  43. #define HTX_PB_NO_THREAD     "Run the ProcessTest() function without using PowerThreads."
  44. #define HTX_EF_NUMBER        "The number of DosBeeps/DosSleeps to execute when running ProcessTest()"
  45. #define HTX_TX_HELP          "This help system uses the Beta of DynoHelp, a Dynamic Help Toolkit by Greg Ratajik."
  46. #define HTX_TX_INFO          "Information about this program."
  47. #define HTX_TX_APP_NAME      "This is the name of this applications."
  48. #define HTX_TX_COPYRIGHT     "This is who wrote the program."
  49. #define HTX_TX_CONTACT_INFO  "This is where you can get in touch with the Author of this Program."
  50. #define HTX_FID_SYSMENU      "Click for Application options.  Double click to end TEST."
  51. #define HTX_FID_MENU         "Select option."
  52. #define HTX_FID_TITLEBAR     "This is the title of this application.  Click and hold mouse left button, to drag application."
  53. #define HTX_FID_MINMAX       "Click left mouse button to minimize this application."
  54.