home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / VSCPPv8.zip / VACPP / IBMCPP / samples / IOC / HELLO3 / AHELLOW3.H < prev    next >
C/C++ Source or Header  |  1995-04-07  |  3KB  |  46 lines

  1. #ifndef AHELLOWINDOW_H
  2. #define AHELLOWINDOW_H
  3. /******************************************************************************/
  4. /* HELLO WORLD SAMPLE PROGRAM - Version 3: Symbolic Definitions (ahellow3.h)  */
  5. /*                                                                            */
  6. /* COPYRIGHT: Copyright (C) International Business Machines Corp., 1992,1995. */
  7. /*                                                                            */
  8. /* DISCLAIMER OF WARRANTIES:                                                  */
  9. /*   The following [enclosed] code is sample code created by IBM              */
  10. /*   Corporation.  This sample code is not part of any standard IBM product   */
  11. /*   and is provided to you solely for the purpose of assisting you in the    */
  12. /*   development of your applications.  The code is provided "AS IS",         */
  13. /*   without warranty of any kind.  IBM shall not be liable for any damages   */
  14. /*   arising out of your use of the sample code, even if they have been       */
  15. /*   advised of the possibility of such damages.                              */
  16. /******************************************************************************/
  17. // NOTE: WE RECOMMEND USING A FIXED-SPACE FONT TO LOOK AT THE SOURCE.
  18. //**************************************************************************
  19. // window IDs - used to construct windows, e.g. IStaticText, AHelloWindow  *
  20. //**************************************************************************
  21. #define WND_MAIN         0x1000         //Main window window ID               V1
  22.  
  23. #define WND_HELLO        0x8008         //Hello World window ID               V1
  24. #define WND_INFO         0x1012         //Information area window ID          V2
  25. #define WND_STATUS       0x1011         //Status line window ID               V3
  26.  
  27.  
  28. //**************************************************************************  V2
  29. // String IDs - used to relate resources to IStaticText and ITitle         *  V2
  30. //**************************************************************************  V2
  31. #define STR_HELLO        0x1200         //Hello World string ID               V2
  32. #define STR_INFO         0x1220         //Inactive text string ID             V2
  33. #define STR_CENTER       0x1230         //Center alignment status string ID   V3
  34. #define STR_LEFT         0x1231         //Left alignment status string ID     V3
  35. #define STR_RIGHT        0x1232         //Right alignment status string ID    V3
  36.  
  37. //**************************************************************************  V3
  38. // Menu IDs - used to relate command ID to menu items, buttons, and keys   *  V3
  39. //**************************************************************************  V3
  40. #define MI_ALIGNMENT     0x1500         //Alignment menu item command ID      V3
  41. #define MI_CENTER        0x1501         //Center menu item command ID         V3
  42. #define MI_LEFT          0x1502         //Left menu item command ID           V3
  43. #define MI_RIGHT         0x1503         //Right menu item command ID          V3
  44.  
  45. #endif
  46.