home *** CD-ROM | disk | FTP | other *** search
/ ftp.uv.es / 2014.11.ftp.uv.es.tar / ftp.uv.es / pub / unix / pine4.10.tar.gz / pine4.10.tar / pine4.10 / pico / msmenu.h < prev    next >
C/C++ Source or Header  |  1998-02-27  |  3KB  |  108 lines

  1. #line 2 "msmenu.h"
  2. /*
  3.  * $Id: msmenu.h,v 4.9 1998/02/28 00:10:21 hubert Exp $
  4.  *
  5.  * Program:    Menu item definitions - Microsoft Windows 3.1
  6.  *
  7.  *
  8.  * Thomas Unger
  9.  * Networks and Distributed Computing
  10.  * Computing and Communications
  11.  * University of Washington
  12.  * Administration Builiding, AG-44
  13.  * Seattle, Washington, 98195, USA
  14.  * Internet: tunger@cac.washington.edu
  15.  *
  16.  * Please address all bugs and comments to "pine-bugs@cac.washington.edu"
  17.  *
  18.  *
  19.  * Pine and Pico are registered trademarks of the University of Washington.
  20.  * No commercial use of these trademarks may be made without prior written
  21.  * permission of the University of Washington.
  22.  * 
  23.  * Pine, Pico, and Pilot software and its included text are Copyright
  24.  * 1989-1998 by the University of Washington.
  25.  * 
  26.  * The full text of our legal notices is contained in the file called
  27.  * CPYRIGHT, included with this distribution.
  28.  */
  29.  
  30. #ifndef MSMENU_H
  31. #define MSMENU_H
  32.  
  33.  
  34. /*
  35.  * var in pine's key structure we'll use
  36.  */
  37. #define    KS_OSDATAVAR            short menuitem;
  38. #define    KS_OSDATAGET(X)            ((X)->menuitem)
  39. #define    KS_OSDATASET(X, Y)        ((X)->menuitem = (Y))
  40.  
  41. /*
  42.  * Menu key definitions.
  43.  * Should be same values as in resouce.h
  44.  */
  45. #define KS_NONE            0
  46. #define KS_RANGESTART        150
  47.  
  48. #define KS_VIEW                     150
  49. #define KS_EXPUNGE                  151
  50. #define KS_ZOOM                     152
  51. #define KS_SORT                     153
  52. #define KS_HDRMODE                  154
  53. #define KS_MAINMENU                 155
  54. #define KS_FLDRLIST                 156
  55. #define KS_FLDRINDEX                157
  56. #define KS_COMPOSER                 158
  57. #define KS_PREVPAGE                 159
  58. #define KS_PREVMSG                  160
  59. #define KS_NEXTMSG                  161
  60. #define KS_ADDRBOOK                 162
  61. #define KS_WHEREIS                  163
  62. #define KS_PRINT                    164
  63. #define KS_REPLY                    165
  64. #define KS_FORWARD                  166
  65. #define KS_BOUNCE                   167
  66. #define KS_DELETE                   168
  67. #define KS_UNDELETE                 169
  68. #define KS_FLAG                     170
  69. #define KS_SAVE                     171
  70. #define KS_EXPORT                   172
  71. #define KS_TAKEADDR                 173
  72. #define KS_SELECT                   174
  73. #define KS_APPLY                    175
  74. #define KS_POSTPONE                 176
  75. #define KS_SEND                     177
  76. #define KS_CANCEL                   178
  77. #define KS_ATTACH                   179
  78. #define KS_TOADDRBOOK               180
  79. #define KS_READFILE                 181
  80. #define KS_JUSTIFY                  182
  81. #define KS_ALTEDITOR                183
  82. #define KS_GENERALHELP              184
  83. #define KS_SCREENHELP               185
  84. #define KS_EXIT                     186
  85. #define KS_NEXTPAGE                 187
  86. #define KS_SAVEFILE                 188
  87. #define KS_CURPOSITION              189
  88. #define KS_GOTOFLDR                 190
  89. #define KS_JUMPTOMSG                191
  90. #define KS_RICHHDR                  192
  91. #define KS_EXITMODE                 193
  92. #define KS_REVIEW            194
  93. #define KS_KEYMENU            195
  94. #define KS_SELECTCUR            196
  95. #define KS_UNDO                197
  96. #define KS_SPELLCHK            198
  97.  
  98. #define KS_RANGEEND        198
  99.  
  100. #define KS_COUNT        ((KS_RANGEEND - KS_RANGESTART) + 1)
  101.  
  102.  
  103.  
  104. #define MENU_DEFAULT    300            /* Default menu for application. */
  105. #define MENU_COMPOSER    301            /* Menu for pine's composer. */
  106.  
  107. #endif /* MSMENU_H */
  108.