home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / VSCPPv8.zip / VACPP / IBMCPP / samples / IOC / MLE / AMLE.H < prev    next >
Text File  |  1994-10-14  |  4KB  |  67 lines

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