home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / header45.zip / vsqm.h < prev    next >
Text File  |  1999-03-15  |  13KB  |  292 lines

  1. /*********************************************************************
  2. *
  3. * Module Name: vsqm.h
  4. *
  5. * OS/2 public header file.
  6. *
  7. * Copyright (c) 1993 IBM Corporation
  8. *
  9. *                                                                    */
  10. *   Description     = Visual Spool Queue Manager Header for related  */
  11. *                     constants. Note that there is a strong         */
  12. *                     relationship between the values in this file   */
  13. *                     and the Visual Spool Queue Manager resource    */
  14. *                     file.                                          */
  15. *                                                                    */
  16. *   Function        = Contains all the IDs for the Visual Spool      */
  17. *                     Queue Manager application.                     */
  18. *                                                                    */
  19. *                                                                    */
  20. *                                                                    */
  21. **********************************************************************/
  22.  
  23. /**********************************************************************/
  24. /*                                                                    */
  25. /* String table IDs                                                   */
  26. /*                                                                    */
  27. /**********************************************************************/
  28. #define IDSNAME          10
  29. #define IDSTITLE         20
  30. #define IDSHELP          21    /* Help window title string
  31. #define IDSDTLSTL        30
  32. #define IDSQUEUE1        40
  33. #define IDSQUEUE3        42
  34. #define IDSQUEUE4        43
  35. #define IDSJOB1          50
  36. #define IDSJOB3          52
  37. #define IDSJOB4          53
  38. #define IDSJOB5          54
  39. #define IDSJOB6          55
  40. #define IDSJOB7          56
  41. #define IDSJOB8          57
  42. #define IDSJOB9          58
  43. #define IDSJOB10         59
  44. #define IDSJOB11         60
  45. #define IDSJOB12         61
  46. #define IDSJOB13         62
  47. #define IDSJOB14         63
  48. #define IDSJOB15         64
  49. #define IDSPRIOSTR       69
  50. #define IDSJOB16         70
  51. #define VQCONFIRMCANCEL  71
  52. #define VQCANNOTIPL      72
  53. #define VQSPLRUNNING     73
  54. #define VQSPLNOMEMORY    74
  55. #define VQERRNOMEMORY    75
  56. #define VQCONFIRMZAPQ    76
  57. #define VQINIFILEERROR   77
  58. #define VQSPLNODISKSPACE 78
  59. #define VQNOFREEJOBID    79
  60. #define VQINVALIDPRIORITY 80
  61. #define VQBASEERROR      81
  62. #define VQINTERNALERROR  82
  63. #define VQDRIVENOTREADY  83
  64. #define VQBADPRIOSTR     84
  65.  
  66. #define ID_LISTBOX       90     /* Queues listbox ID
  67.  
  68. /**********************************************************************/
  69. /*                                                                    */
  70. /* Menu IDs                                                           */
  71. /*                                                                    */
  72. /**********************************************************************/
  73. #define VSQMID          170
  74. #define VQQUEUE         171
  75. #define IDMHOLDQ        172
  76. #define IDMRELQ         173
  77. #define IDMHOLDALL      174
  78. #define IDMRELALL       175
  79. #define IDMZAPALL       176
  80. #define VQJOBS          180
  81. #define IDMPRTNEXT      181
  82. #define IDMCANCEL       182
  83. #define IDMRST          183
  84. #define IDMHOLDJ        184
  85. #define IDMRLS          185
  86. #define IDMRPT          186
  87. #define IDMDTLS         187
  88. #define IDMHELP         189
  89. #define IDMHOWTOGETHELP 199
  90. #define VQSPECIAL       190
  91. #define VQSPREFRESH     191
  92. #define VQSPAUTOONOFF   192
  93.  
  94.  
  95.  
  96. /**********************************************************************/
  97. /*                                                                    */
  98. /* Dialog box IDs                                                     */
  99. /*                                                                    */
  100. /**********************************************************************/
  101. #define JOBINFO          1000          /* Dialog template ID         */
  102.  
  103. #define DEVICENMINFO     1001          /* Device information         */
  104. #define DEVICENMTEXT     1002
  105.  
  106. #define FORMSCODEINFO    1003          /* Forms code information     */
  107. #define FORMSCODETEXT    1004
  108.  
  109. #define JOBIDINFO        1005          /* Job ID string              */
  110. #define JOBIDTEXT        1006
  111.  
  112. #define PRIORITYINFO     1007          /* Job priority information   */
  113. #define PRIORITYTEXT     1008
  114.  
  115. #define PROCNMINFO       1009          /* Queue processor name string*/
  116. #define PROCNMTEXT       1010
  117.  
  118. #define PROCPARAMSINFO   1011          /* QProc parameters string    */
  119. #define PROCPARAMSTEXT   1012
  120.  
  121. #define DOCNAMETEXT      1013          /* Document Name              */
  122. #define DOCNAMEINFO      1014
  123.  
  124. #define COMMENTTEXT      1015          /* Document comment string    */
  125. #define COMMENTINFO      1016
  126.  
  127. #define NETTEXT          1017          /* Network parameters         */
  128. #define NETS             1018
  129.  
  130. #define DATETEXT         1019          /* Date of creation           */
  131. #define DATE             1020
  132.  
  133. #define TIMETEXT         1021          /* Time of creation           */
  134. #define TIME             1022
  135.  
  136. #define OK               1023          /* OK and                     */
  137. #define HELP             1024          /* Help push buttons          */
  138.  
  139. #define DOCNAMEINFOLFT   2001
  140. #define DOCNAMEINFORT    2002
  141. #define COMMENTINFOLFT   2003
  142. #define COMMENTINFORT    2004
  143. #define PROCPARAMSLFT    2005
  144. #define PROCPARAMSRT     2006
  145. #define NETLEFT          2007
  146. #define NETRIGHT         2008
  147. /**********************************************************************/
  148. /*                                                                    */
  149. /*  Help ID's                                                         */
  150. /*                                                                    */
  151. /**********************************************************************/
  152. #define IDH_VQQUEUE        400
  153. #define IDH_IDMHOLDQ       401
  154. #define IDH_IDMRELQ        402
  155. #define IDH_VQJOBS         403
  156. #define IDH_IDMDTLS        404
  157. #define IDH_IDMCANCEL      405
  158. #define IDH_IDMPRTNEXT     406
  159. #define IDH_IDMRPT         407
  160. #define IDH_IDMRST         408
  161. #define IDH_IDMHOLD        409
  162. #define IDH_IDMRLS         410
  163. #define IDH_JOBINFO        411
  164. #define IDH_VQSPECIAL      412
  165. #define IDH_VQSPREFRESH    413
  166. #define IDH_VQSPAUTO       414
  167. #define IDH_NOMEMORY       415
  168. #define IDH_NODISKSPACE    416
  169. #define IDH_INTERNALERROR  417
  170. #define IDH_INIFILEERROR   418
  171. #define IDH_HELP           419
  172. #define IDH_IDMHOLDALL     420
  173. #define IDH_IDMRLSALL   :ç 421
  174. #define IDH_IDMCANALL      422
  175. #define IDH_IDMSYSMENU     423
  176. #define IDH_IDMSMREST      424
  177. #define IDH_IDMSMMOVE      425
  178. #define IDH_IDMSMSIZE      426
  179. #define IDH_IDMSMMIN       427
  180. #define IDH_IDMSMMAX       428
  181. #define IDH_IDMSMTMG       429
  182. #define IDH_MAIN           430                                /* @D1A */
  183. #define IDH_KEYS           431                                /* @D1A */
  184. #define IDH_HOWTOGETHELP   432                                /* @D1A */
  185.  
  186. /**********************************************************************/
  187. /*                                                                    */
  188. /* Menu resource                                                      */
  189. /*                                                                    */
  190. /**********************************************************************/
  191. #define QMMENU 1
  192.  
  193. /**********************************************************************/
  194. /*                                                                    */
  195. /* Bitmap resources                                                   */
  196. /*                                                                    */
  197. /**********************************************************************/
  198. #define LEFT 2
  199. #define RIGHT 2
  200. /**********************************************************************/
  201. /*                                                                    */
  202. /* Also needed but not sure why                                       */
  203. /*                                                                    */
  204. /**********************************************************************/
  205. #define IDH_QMCONTEXT 2
  206.  
  207.  
  208. /**********************************************************************/
  209. /*                                                                    */
  210. /* Define the sizes of strings that get displayed in the QUEUES/JOBS  */
  211. /* listbox. Note that string lengths include 1 character for the null */
  212. /* terminator. In other words, for a full string, the actual length   */
  213. /* of the string returned by a call to strlen() will be one less than */
  214. /* the length value.                                                  */
  215. /*                                                                    */
  216. /**********************************************************************/
  217. #define VQMAXLBSTRING  78 /* Maximum length of list box string        */
  218. #define VQMAXJOBSTRLEN 20 /* Maximum total space for job(s) string    */
  219.  
  220. #define VQMAXJBFILLER   3 /* Maximum size of job filler string        */
  221. #define VQQMAPIMAGELEN  4 /* Size of image elements in Queues map     */
  222. #define VQJMAPIMAGELEN  4 /* Size of image elements in Jobs map       */
  223. #define VQMAXJOBNOLEN   4 /* Maximum length of job number displayable */
  224.  
  225. #define VQMAXJIDLEN     4 /* Maximum length of job ID string          */
  226. #define VQMAXCOMMENT    8 /* Maximum length of the comment string     */
  227. #define VQMAXDOCNAME   14 /* Maximum length of the doc name string    */
  228. #define VQMAXTIMEST    20 /* Maximum length of job timestamp string   */
  229. #define VQMAXSTSTRING  17 /* Maximum length of job status string      */
  230. #define VQMAXNETPSTRING 9 /* Maximum length of network params string  */
  231.  
  232. #define VQMAXPRIOSTRLEN 9 /* Maximum total space for job prio string  */
  233. #define VQMAXQFILLER   21 /* Maximum size of queue filler string      */
  234.  
  235. /**********************************************************************/
  236. /*                                                                    */
  237. /* Absolute positions of items in the VSQM list box                   */
  238. /*                                                                    */
  239. /**********************************************************************/
  240. #define VQQNAMESTART    0 /* Start position of the queue name string  */
  241. #define VQQNAMESTOP    26 /* End position of the queue name string    */
  242.  
  243. #define VQJIDSTART      1
  244. #define VQJIDSTOP       4
  245.  
  246. #define VQCOMMSTART     6 /* Start position of the comment string     */
  247. #define VQCOMMSTOP     13 /* End position of the comment string       */
  248.  
  249. #define VQDOCNSTART    15 /* Start position of the doc name string    */
  250. #define VQDOCNSTOP     28 /* End position of the doc name string      */
  251.  
  252. #define VQDATESTOP     38
  253.  
  254. #define VQTIMESTART    40 /* Start position of timestamp string       */
  255. #define VQTIMESTOP     47 /* End position of timestamp string         */
  256.  
  257. #define VQSTATUSPOS    49 /* Start position of the status string      */
  258.  
  259. #define VQNETPSTART    68 /* Start position of network params string  */
  260. #define VQNETPSTOP     76 /* End position of network params string    */
  261.  
  262. /**********************************************************************/
  263. /*                                                                    */
  264. /* Miscellaneous others.                                              */
  265. /*                                                                    */
  266. /**********************************************************************/
  267. #define NUMQMENUITEMS   5 /* Number of items in the Queue menu        */
  268. #define NUMJMENUITEMS   7 /* Number of items in the Job submenu       */
  269. #define VQMAXTITLE     50 /* Size of title bar string                 */
  270. #define VQMAXMSGSTRING 256/* Maximum msg box string length displayable*/
  271.  
  272. #define VSQM_MAXQNAME  sizeof(SPLUNCQUNAME)
  273. /**********************************************************************/
  274. /*                                                                    */
  275. /* Define the possible values to be used when calling DosExit.        */
  276. /*                                                                    */
  277. /**********************************************************************/
  278. #define VQ_KILL_PROCESS 1
  279.  
  280. #define    IDSQUEUE2  "                "
  281. #define    IDSJOB2    "                "
  282. #define    IDSJOBFILLER "  "
  283. #define    IDSQUEUEFILLER "                         "
  284. #define    IDSJBSTR  "    0 "
  285.  
  286. /***************************************************************/
  287. /* Help SubTable and Table resource IDs                        */
  288. /***************************************************************/
  289. #define MAIN_SUBTABLE  1
  290. #define DUMMY_SUBTABLE 2
  291. #define MAIN_HELPTABLE 1
  292.