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

  1. /******************************************************************************
  2. * .FILE:         amle.h                                                       *
  3. *                                                                             *
  4. * .DESCRIPTION:  Multiline Edit Sample Program:    Symbolic Definitions       *
  5. *                                                                             *
  6. * .COPYRIGHT:                                                                 *
  7. *    Licensed Material - Program-Property of IBM                              *
  8. *    (C) Copyright IBM Corp. 1992, 1996 - All Rights Reserved                 *
  9. *                                                                             *
  10. * .DISCLAIMER:                                                                *
  11. *   The following [enclosed] code is sample code created by IBM               *
  12. *   Corporation.  This sample code is not part of any standard IBM product    *
  13. *   and is provided to you solely for the purpose of assisting you in the     *
  14. *   development of your applications.  The code is provided 'AS IS',          *
  15. *   without warranty of any kind.  IBM shall not be liable for any damages    *
  16. *   arising out of your use of the sample code, even if they have been        *
  17. *   advised of the possibility of such damages.                               *
  18. *                                                                             *
  19. * .NOTE: WE RECOMMEND USING A FIXED SPACE FONT TO LOOK AT THE SOURCE          *
  20. *                                                                             *
  21. ******************************************************************************/
  22. #ifndef AEDITORWINDOW_H
  23. #define AEDITORWINDOW_H
  24.  
  25.                                          // this is defined in the OS/2
  26.                                          // developer's toolkit
  27. #define WM_USER             0x1000
  28.  
  29. /******************************************************************************/
  30. /* constants                                                                  */
  31. /******************************************************************************/
  32. #define DEFAULT_FILE_SPEC   "*.cpp"
  33.  
  34. /******************************************************************************/
  35. /* user define message id                                                     */
  36. /******************************************************************************/
  37. #define UWM_THREADEND       WM_USER
  38.  
  39. /******************************************************************************/
  40. /* window ids                                                                 */
  41. /******************************************************************************/
  42. #define WND_MAIN            100          // frame window id
  43. #define WND_MLE             101          // mle id
  44.  
  45. /******************************************************************************/
  46. /* string table ids                                                           */
  47. /******************************************************************************/
  48. #define STR_VIEWNAME       2000
  49. #define STR_FONTDLGT       2001
  50. #define STR_OPENFAILED     2002
  51. #define STR_OPENFAILEDTEXT 2003
  52. #define STR_QUOTE          2004
  53.  
  54. //******************************************************************************
  55. //* menu item ids                                                              *
  56. //******************************************************************************
  57. #define MI_FILE            1000
  58. #define MI_OPEN            1001
  59. #define MI_OPEN_THREAD2    1002
  60. #define MI_SAVE            1003
  61. #define MI_SAVEAS          1004
  62.  
  63. #define MI_EDIT            1010
  64. #define MI_COPY            1011
  65. #define MI_CUT             1012
  66. #define MI_PASTE           1013
  67.  
  68. #define MI_OPTIONS         1020
  69. #define MI_FONT            1021
  70. #define MI_WORDWRAP        1022
  71.  
  72. #endif
  73.