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

  1. /******************************************************************************
  2. *                                                                             *
  3. * .FILE:         alistbox.h                                                   *
  4. *                                                                             *
  5. * .DESCRIPTION:  List Box Sample Program:  Symbolic Definitions               *
  6. *                                                                             *
  7. * .COPYRIGHT:                                                                 *
  8. *    Licensed Material - Program-Property of IBM                              *
  9. *    (C) Copyright IBM Corp. 1992, 1996 - All Rights Reserved                 *
  10. *                                                                             *
  11. * .DISCLAIMER:                                                                *
  12. *   The following [enclosed] code is sample code created by IBM               *
  13. *   Corporation.  This sample code is not part of any standard IBM product    *
  14. *   and is provided to you solely for the purpose of assisting you in the     *
  15. *   development of your applications.  The code is provided 'AS IS',          *
  16. *   without warranty of any kind.  IBM shall not be liable for any damages    *
  17. *   arising out of your use of the sample code, even if they have been        *
  18. *   advised of the possibility of such damages.                               *
  19. *                                                                             *
  20. * .NOTE: WE RECOMMEND USING A FIXED SPACE FONT TO LOOK AT THE SOURCE          *
  21. *                                                                             *
  22. ******************************************************************************/
  23. #ifndef ALISTBOX_H
  24. #define ALISTBOX_H
  25.  
  26. /***************************************************************************
  27. | window ids - used by IWindow constructors (eg IStaticText, AHelloWindow) |
  28.  **************************************************************************/
  29. #define WND_MAIN         2000
  30. #define WND_HELLO        2010
  31. #define WND_INFO         2012
  32. #define WND_STATUS       2011
  33.  
  34. /***************************************************************************
  35. | string ids - used to relate resources to IStaticText and ITitle          |
  36.  **************************************************************************/
  37. #define STR_HELLO        1200
  38. #define STR_INFO         1220
  39. #define STR_CENTER       1230
  40. #define STR_LEFT         1231
  41. #define STR_RIGHT        1232
  42.  
  43. #define STR_LIST_ITEM1   1240
  44. #define STR_LIST_ITEM2   1241
  45. #define STR_LIST_ITEM3   1242
  46. #define STR_LIST_ITEM4   1243
  47. #define STR_LIST_ITEM5   1244
  48.  
  49. #define STR_SELECTEDITEMS 1250
  50. #define STR_NUMBERITEMS 1251
  51.  
  52. /***************************************************************************
  53. |  menu ids - used on relate command ID to Menu Items and Function Keys    |
  54.  **************************************************************************/
  55. #define MI_LISTBOX                1000
  56. #define MI_ADD_ITEMS              1001
  57. #define MI_READ_SEL_ITEMS         1002
  58. #define MI_READ_ALL_ITEMS         1003
  59. #define MI_EDIT                   1010
  60. #define MI_SELECT_ALL             1011
  61. #define MI_DESELECT_ALL           1012
  62. #define MI_EXCEPTION              1020
  63. #define MI_GEN_EXCPT              1021
  64. #define MI_GEN_EXCPT_UNH          1022
  65. #define MI_MSGBOX_TITLE           1023
  66.  
  67. #endif
  68.