home *** CD-ROM | disk | FTP | other *** search
/ Power GUI Programming with VisualAge C++ / powergui.iso / trialva / ibmcppw / samples / ioc / hello4 / ahellow4.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-02-22  |  3.8 KB  |  78 lines

  1. /******************************************************************************
  2. * .FILE:         ahellow4.h                                                   *
  3. *                                                                             *
  4. * .DESCRIPTION:  Hello World Sample Program Version 4:  Symbolic Definitions  *
  5. *                                                                             *
  6. * .CLASSES:                                                                   *
  7. *                                                                             *
  8. * .COPYRIGHT:                                                                 *
  9. *    Licensed Material - Program-Property of IBM                              *
  10. *    (C) Copyright IBM Corp. 1992, 1996 - All Rights Reserved                 *
  11. *                                                                             *
  12. * .DISCLAIMER:                                                                *
  13. *   The following [enclosed] code is sample code created by IBM               *
  14. *   Corporation.  This sample code is not part of any standard IBM product    *
  15. *   and is provided to you solely for the purpose of assisting you in the     *
  16. *   development of your applications.  The code is provided 'AS IS',          *
  17. *   without warranty of any kind.  IBM shall not be liable for any damages    *
  18. *   arising out of your use of the sample code, even if they have been        *
  19. *   advised of the possibility of such damages.                               *
  20. *                                                                             *
  21. * .NOTE: WE RECOMMEND USING A FIXED SPACE FONT TO LOOK AT THE SOURCE          *
  22. *                                                                             *
  23. *                                                                             *
  24. ******************************************************************************/
  25. #ifndef AHELLOWINDOW_H
  26. #define AHELLOWINDOW_H
  27.  
  28. //**************************************************************************
  29. // window IDs - used to construct windows, e.g. IStaticText, AHelloWindow  *
  30. //**************************************************************************
  31. #define WND_MAIN         0x1000
  32.  
  33. #define WND_HELLO        0x1010
  34. #define WND_INFO         0x1020
  35. #define WND_STATUS       0x1030
  36. #define WND_TEXTDIALOG   0x1040
  37. #define WND_MCCANVAS     0x1050
  38. #define WND_STCANVAS     0x1060
  39. #define WND_BUTTONS      0x1070
  40.  
  41.  
  42. //**************************************************************************
  43. // String IDs - used to relate resources to IStaticText and ITitle         *
  44. //**************************************************************************
  45. #define STR_HELLO        0x1200
  46. #define STR_INFO         0x1220
  47. #define STR_INFODLG      0x1221
  48. #define STR_CENTER       0x1230
  49. #define STR_LEFT         0x1231
  50. #define STR_RIGHT        0x1232
  51. #define STR_CENTERB      0x1240
  52. #define STR_LEFTB        0x1241
  53. #define STR_RIGHTB       0x1242
  54.  
  55. //**************************************************************************
  56. // Menu IDs - used to relate command ID to menu items, buttons, and keys   *
  57. //**************************************************************************
  58. #define MI_ALIGNMENT     0x1500
  59. #define MI_CENTER        0x1501
  60. #define MI_LEFT          0x1502
  61. #define MI_RIGHT         0x1503
  62. #define MI_EDIT          0x1504
  63. #define MI_TEXT          0x1505
  64.  
  65. //**************************************************************************
  66. // Dialog IDs - window IDs used in ATextDialog class                       *
  67. //**************************************************************************
  68. #ifndef DID_OK
  69. #define DID_OK           0x0001
  70. #endif
  71. #ifndef DID_CANCEL
  72. #define DID_CANCEL       0x0002
  73. #endif
  74. #define DID_ENTRY        0x1603
  75. #define DID_STATIC       0x1604
  76.  
  77. #endif
  78.