home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / VSCPPv8.zip / VACPP / IBMCPP / samples / IOC / LISTBOX / ALISTBOX.H < prev    next >
Text File  |  1995-04-04  |  3KB  |  52 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         2000         //Main Window ID
  22.  
  23. #define WND_HELLO        2010         //Hello World Window ID
  24. #define WND_INFO         2012         //Information Area                    v2
  25. #define WND_STATUS       2011         //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_LISTBOX                1000
  40. #define MI_ADD_ITEMS              1001
  41. #define MI_READ_SEL_ITEMS         1002
  42. #define MI_READ_ALL_ITEMS         1003
  43. #define MI_EDIT                   1010
  44. #define MI_SELECT_ALL             1011
  45. #define MI_DESELECT_ALL           1012
  46. #define MI_EXCEPTION              1020
  47. #define MI_GEN_EXCPT              1021
  48. #define MI_GEN_EXCPT_UNH          1022
  49. #define MI_MSGBOX_TITLE           1023
  50.  
  51. #endif
  52.