home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / ctdemo.zip / classes / @CLSLIB1.ZIP / cls / iclui / ahellow3.h < prev    next >
Text File  |  1993-05-12  |  3KB  |  45 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,1993. */
  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 by IWindow constructors (eg IStaticText, AHelloWindow)*
  20. //**************************************************************************
  21. #define WND_MAIN         0x1000         //Main Window ID
  22.  
  23. #define WND_HELLO        0x1010         //Hello World Window ID
  24. #define WND_INFO         0x1012         //Information Area                    v2
  25. #define WND_STATUS       0x1011         //Status Line Window ID               v3
  26.  
  27. //**************************************************************************  v2
  28. // string ids - used to relate resources to IStaticText and ITitle         *   .
  29. //**************************************************************************  v2
  30. #define STR_HELLO        0x1200         //Hello World String ID               v2
  31. #define STR_INFO         0x1220         //Info String ID                      v2
  32. #define STR_CENTER       0x1230         //Center Alignment Status String ID   v3
  33. #define STR_LEFT         0x1231         //Left Alignment Status String ID      .
  34. #define STR_RIGHT        0x1232         //Right Alignment Status String ID    v3
  35.  
  36. //**************************************************************************  v3
  37. // menu ids - used on relate command ID to Menu Items and Function Keys    *   .
  38. //**************************************************************************   .
  39. #define MI_ALIGNMENT     0x1500         //Alignment Menu ID                    .
  40. #define MI_CENTER        0x1501         //Center Menu ID                       .
  41. #define MI_LEFT          0x1502         //Left Menu ID                         .
  42. #define MI_RIGHT         0x1503         //Right Menu ID                       v3
  43.  
  44. #endif
  45.