home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: WPS_PM / WPS_PM.zip / xfld085s.zip / main / dlgids.h < prev    next >
C/C++ Source or Header  |  1999-02-21  |  28KB  |  746 lines

  1.  
  2. /*
  3.  *@@sourcefile dlgids.h:
  4.  *      This file declares all the dialog id's common to
  5.  *      all XFolder parts, but only those which are needed
  6.  *      by both the XFolder code and the NLS resource DLLs.
  7.  *
  8.  *      This file is #include'd by the XFolder C code itself
  9.  *      and all the .RC and .DLG files.
  10.  *
  11.  *      DO NOT CHANGE! This is a highly complex system of
  12.  *      id's which has evolved over time, and which I don't
  13.  *      fully understand myself any more. If you alter any
  14.  *      codes here, everything will blow up.
  15.  */
  16.  
  17. /*
  18.  *      Copyright (C) 1997-99 Ulrich Möller.
  19.  *      This file is part of the XFolder source package.
  20.  *      XFolder is free software; you can redistribute it and/or modify
  21.  *      it under the terms of the GNU General Public License as published
  22.  *      by the Free Software Foundation, in version 2 as it comes in the
  23.  *      "COPYING" file of the XFolder main distribution.
  24.  *      This program is distributed in the hope that it will be useful,
  25.  *      but WITHOUT ANY WARRANTY; without even the implied warranty of
  26.  *      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  27.  *      GNU General Public License for more details.
  28.  */
  29.  
  30.  
  31. #ifndef DLGIDS_HEADER_INCLUDED
  32.     #define DLGIDS_HEADER_INCLUDED
  33.  
  34. /* Naming conventions:
  35.    All ID's (= def's for integers) begin with "ID_",
  36.    then comes an abbreviation of the usage of the ID:
  37.    -    XF   for XFolder,
  38.    -    XS   for XFolder settings (mostly XFldSystem class),
  39.    -    SD   for XShutdown,
  40.    -    WP   for previously undocumented WPS ID's;
  41.    then comes an abbreviation of the ID type:
  42.    -    M    for a menu template,
  43.    -    MI   for a menu item,
  44.    -    D    for a dialog template,
  45.    -    DI   for a dialog item;
  46.    -    H    for a help panel res id.
  47.  
  48.    Example:
  49.         ID_SDDI_SKIPAPP is a dlg item ID for use with XShutdown
  50.                         (the "Skip" button in the status window).
  51. */
  52.  
  53. // XFolder version flags; since this file is
  54. // #include'd in the NLS DLLs also, this string
  55. // will be readable as a resource in the NLS DLL
  56. #define XFOLDER_VERSION        "0.85"
  57. #define XFOLDER_VERSION_MAJOR  0
  58. #define XFOLDER_VERSION_MINOR  85
  59.  
  60. // this sets the minimum version number for NLS DLLS
  61. // which XFolder will accept
  62. #define MINIMUM_NLS_VERSION    "0.81 beta"
  63.  
  64. // icons / bitmaps
  65. #define ID_ICON1               100
  66. #define ID_ICON2               101
  67. #define ID_ICONDLG             102
  68. #define ID_ICONSHUTDOWN        103
  69.  
  70. #define ID_STARTICON1          104
  71. #define ID_STARTICON2          105
  72. #define ID_SHUTICON1           106
  73. #define ID_SHUTICON2           107
  74.  
  75. #define ID_ICONSYS             108
  76. #define ID_ICONWPS             109
  77.  
  78. #define ID_ICONSDANIM1         110
  79. #define ID_ICONSDANIM2         111
  80. #define ID_ICONSDANIM3         112
  81. #define ID_ICONSDANIM4         113
  82. #define ID_ICONSDANIM5         114
  83.  
  84. #define ID_ICONMENUARROW4      115
  85. #define ID_ICONMENUARROW3      116
  86.  
  87. #define ID_XFLDRBITMAP         120
  88. /* #define ID_XFLDRBIGLOGO        121 */
  89.  
  90. /******************************************
  91.  *          Dialog templates              *
  92.  ******************************************/
  93.  
  94. #define DID_APPLY              98
  95. #define DID_HELP               97
  96. #define DID_UNDO               96
  97. #define DID_DEFAULT            95
  98. #define DID_OPTIMIZE           94
  99. #define DID_REFRESH            93
  100.  
  101. /* Dialog box templates */
  102. #define ID_XFD_PRODINFO        200
  103. #define ID_XFD_PRODLOGO        201
  104. #define ID_XFD_NOCONFIG        202
  105. #define ID_XFD_NOOBJECT        203
  106. #define ID_XFD_LIMITREACHED    207
  107. #define ID_XFD_WRONGVERSION    208
  108.  
  109. #define ID_XFD_NOTEXTCLIP      211
  110. #define ID_XFD_NOICONVIEW      212
  111.  
  112. #define ID_XFD_WELCOME         213
  113. #define ID_XFD_CREATINGCONFIG  214
  114.  
  115. #define ID_XFD_STARTUPSTATUS   215
  116. #define ID_XFD_NOSTARTUPFLDR   216
  117.  
  118. #define ID_XFD_SELECTSOME      217
  119.  
  120. #define ID_XFD_GENERICDLG      219
  121.  
  122. #define ID_XFD_BOOTUPSTATUS    220
  123.  
  124. #define ID_XFD_TITLECLASH      230
  125.  
  126. /******************************************
  127.  *          Dialog items therin           *
  128.  ******************************************/
  129.  
  130. // for product info
  131. #define ID_XFDI_XFLDVERSION         250
  132.  
  133. /* Notebook pages */
  134. #define ID_XSD_SET1XFOLDER          401
  135. #define ID_XSD_SET2REMOVEMENUS      402
  136. #define ID_XSD_SET25ADDMENUS        425
  137. #define ID_XSD_SET26CONFIGMENUS     426
  138. #define ID_XSD_SET27STATUSBARS      427
  139. #define ID_XSD_SET28STATUSBARS2     428
  140. #define ID_XSD_SET3SNAPTOGRID       403
  141. #define ID_XSD_SET4ACCELS           404
  142. #define ID_XSD_SET5INTERNALS        405
  143. #define ID_XSD_SETTINGS_DTP1        406
  144. #define ID_XSD_SETTINGS_DTP2        407
  145. #define ID_XSD_SETTINGS_FLDR1       408
  146. #define ID_XSD_SETTINGS_FILEOPS     409
  147.  
  148. #define ID_XSD_REBOOTEXT            410
  149.  
  150. #define ID_XSD_AUTOCLOSE            411
  151.  
  152. #define ID_XSD_SETTINGS_FLDRSORT    412
  153.  
  154. #define ID_XSD_OBJECTDETAILS        413
  155.  
  156. #define ID_XSD_SETTINGS_KERNEL1     414
  157. #define ID_XSD_SETTINGS_KERNEL2     415
  158. #define ID_XSD_SETTINGS_HPFS        416
  159. #define ID_XSD_SETTINGS_FAT         417
  160. #define ID_XSD_SETTINGS_CDFS        418
  161. #define ID_XSD_SETTINGS_ERRORS      419
  162. #define ID_XSD_SETTINGS_WPS         420
  163.  
  164. // "WPSCLASSES" dlgs
  165. #define ID_XSD_SELECTCLASS          450
  166. #define ID_XSD_SETTINGS_WPSCLASSES  451
  167. #define ID_XSD_SETTINGS_WPSCL_INFO  452
  168. #define ID_XSD_SETTINGS_WPSCL_REGISTER 453
  169.  
  170. /* The following dlg items from the notebook
  171.    settings pages all have a help panel assigned
  172.    to them. This help panel is found in XFLDxxx.HLP
  173.    by calculating the panel ID from the the dlg
  174.    item ID; for this, ID_XSDI_FIRST is used, which
  175.    must be set to the first dlg item which has a
  176.    help panel. As a result, the order of the following
  177.    items must not be changed, or XFolder will miss
  178.    the associated help panels. */
  179.  
  180. // "XFolder" page
  181. #define ID_XSDI_ADDINTERNALS        500
  182. #define ID_XSDI_FIRST               500
  183.  
  184. #define ID_XSDI_REPLICONS           501
  185. #define ID_XSDI_FULLPATH            502
  186. #define ID_XSDI_KEEPTITLE           503
  187. #define ID_XSDI_MAXPATHCHARS        504
  188. #define ID_XSDI_MAXPATHCHARS_TX1    901     // text; ID needed for disabling
  189. #define ID_XSDI_MAXPATHCHARS_TX2    902     // text; ID needed for disabling
  190. #define ID_XSDI_TREEVIEWAUTOSCROLL  505
  191.  
  192. // default WPS menu items
  193. #define ID_XSDI_FIND                506
  194. #define ID_XSDI_SORT                507
  195. #define ID_XSDI_SELECT              508
  196. #define ID_XSDI_WARP4DISPLAY        509
  197. #define ID_XSDI_ARRANGE             510
  198. #define ID_XSDI_INSERT              511
  199.  
  200. #define ID_XSDI_CHECKDISK           512
  201. #define ID_XSDI_FORMATDISK          513
  202.  
  203. #define ID_XSDI_HELP                514
  204. #define ID_XSDI_CRANOTHER           515
  205. #define ID_XSDI_COPY                516
  206. #define ID_XSDI_MOVE                517
  207. #define ID_XSDI_SHADOW              518
  208. #define ID_XSDI_DELETE              519
  209. #define ID_XSDI_PICKUP              520
  210. #define ID_XSDI_LOCKINPLACE         521
  211. #define ID_XSDI_PRINT               522
  212.  
  213. // new menu items
  214. #define ID_XSDI_FILEATTRIBS         523
  215. #define ID_XSDI_COPYFILENAME        524
  216. #define ID_XSDI_MOVE4REFRESH        525
  217. #define ID_XSDI_SELECTSOME          526
  218. #define ID_XSDI_FLDRVIEWS           527
  219. #define ID_XSDI_FOLDERCONTENT       528
  220. #define ID_XSDI_FC_SHOWICONS        529        // skip five
  221.  
  222. // "XFolder Internals"
  223. #define ID_XSDI_LANGUAGE            535
  224. #define ID_XSDI_DEFAULTTITLE        536
  225. #define ID_XSDI_VARMENUOFFSET       537
  226. #define ID_XSDI_XFOLDERANIMATION    538
  227. #define ID_XSDI_NOSUBCLASSING       539
  228. #define ID_XSDI_NOWORKERTHREAD      540        // skip five plus one
  229.  
  230. // XDesktop / XShutdown
  231. #define ID_XSDI_DTM_SYSTEMSETUP         547
  232. #define ID_XSDI_DTM_LOCKUP              548
  233. #define ID_XSDI_DTM_SHUTDOWN            549
  234. #define ID_XSDI_SD_RESTARTWPS           550
  235. #define ID_XSDI_SD_ENABLED              551
  236. #define ID_XSDI_SD_REBOOT               552
  237. #define ID_XSDI_SD_ANIMATE              553
  238. #define ID_XSDI_SD_APMPOWEROFF          554
  239. #define ID_XSDI_SD_CONFIRM              555
  240. #define ID_XSDI_SD_AUTOCLOSEVIO         556
  241. #define ID_XSDI_SD_LOG                  557
  242.  
  243. // misc other stuff
  244. #define ID_XSDI_CASCADE          558
  245. #define ID_XSDI_REMOVEX          559
  246. #define ID_XSDI_APPDPARAM        560
  247.  
  248. #define ID_XSDI_TPL_DONOTHING    561
  249. #define ID_XSDI_TPL_EDITTITLE    562
  250. #define ID_XSDI_TPL_OPENSETTINGS 563
  251. #define ID_XSDI_TPL_POSITION     564
  252.  
  253. #define ID_XSDI_CLEANUPINIS      565
  254. #define ID_XSDI_REPLCONFIRMS     566
  255.  
  256. /* dlg items therein WITHOUT according help panels;
  257.    help is only available for the whole page, which
  258.    will be displayed by the dlg func because a
  259.    corresponding help panel will not be found */
  260.  
  261. // snap to grid
  262. #define ID_XSDI_SNAPTOGRID       651
  263. #define ID_XSDI_GRID_X           652
  264. #define ID_XSDI_GRID_Y           653
  265. #define ID_XSDI_GRID_CX          654
  266. #define ID_XSDI_GRID_CY          655
  267.  
  268. // folder hotkeys
  269. #define ID_XSDI_ACCELERATORS     656
  270. #define ID_XSDI_LISTBOX          657
  271. #define ID_XSDI_DESCRIPTION      658
  272. #define ID_XSDI_DESCRIPTION_TX1  659    // text
  273. #define ID_XSDI_CLEARACCEL       660
  274.  
  275. // status bars 1
  276. #define ID_XSDI_ENABLESTATUSBAR  661
  277. #define ID_XSDI_SBFORICONVIEWS   662
  278. #define ID_XSDI_SBFORTREEVIEWS   663
  279. #define ID_XSDI_SBFORDETAILSVIEWS 664
  280. #define ID_XSDI_SBSTYLE_3RAISED  667
  281. #define ID_XSDI_SBSTYLE_3SUNKEN  668
  282. #define ID_XSDI_SBSTYLE_4RECT    669
  283. #define ID_XSDI_SBSTYLE_4MENU    670
  284.  
  285. // XFolder page in folder notebook
  286. // (also uses some ID's def'd above)
  287. #define ID_XSDI_FAVORITEFOLDER   671
  288. #define ID_XSDI_QUICKOPEN        672
  289.  
  290. // extended sort
  291. #define ID_XSDI_ALWAYSSORT       673
  292. #define ID_XSDI_SORTLISTBOX      674
  293. #define ID_XSDI_REPLACESORT      675
  294. #define ID_XSDI_SORTTEXT         676
  295.  
  296. // XDesktop page 2
  297. #define ID_XSDI_SD_CREATESHUTDOWNFLDR   680
  298. #define ID_XSDI_SD_CREATESTARTUPFLDR    681
  299. #define ID_XSDI_SD_SHOWSTARTUPPROGRESS  682
  300. #define ID_XSDI_SD_STARTUPDELAY         683
  301. #define ID_XSDI_SD_STARTUPDELAYTXT      684
  302.  
  303. // some more items on page 1
  304. #define ID_XSDI_SD_REBOOTEXT            685
  305. #define ID_XSDI_SD_AUTOCLOSEDETAILS     686
  306. #define ID_XSDI_SD_APMVERSION           687
  307.  
  308. // "Internals" page in all object notebooks
  309. #define ID_XSDI_DTL_CNR                 688
  310.  
  311. // status bars page 2
  312. #define ID_XSDI_SBTEXTNONESEL           690
  313. #define ID_XSDI_SBCURCLASS              691
  314. #define ID_XSDI_SBSELECTCLASS           692
  315. #define ID_XSDI_SBTEXT1SEL              693
  316. #define ID_XSDI_SBTEXTMULTISEL          694
  317.  
  318. // "extended reboot" / "auto-close" dlg items
  319. #define ID_XSDI_XRB_LISTBOX             700
  320. #define ID_XSDI_XRB_NEW                 701
  321. #define ID_XSDI_XRB_DELETE              702
  322. #define ID_XSDI_XRB_UP                  703
  323. #define ID_XSDI_XRB_DOWN                704
  324. #define ID_XSDI_XRB_ITEMNAME            705
  325. #define ID_XSDI_XRB_COMMAND             706
  326. #define ID_XSDI_ACL_WMCLOSE             707
  327. #define ID_XSDI_ACL_CTRL_C              708
  328. #define ID_XSDI_ACL_KILLSESSION         709
  329. #define ID_XSDI_ACL_SKIP                710
  330.  
  331. // "Select by name" dlg items
  332. #define ID_XFDI_SOME_ENTRYFIELD         750
  333. #define ID_XFDI_SOME_SELECT             751
  334. #define ID_XFDI_SOME_DESELECT           752
  335. #define ID_XFDI_SOME_SELECTALL          753
  336. #define ID_XFDI_SOME_DESELECTALL        754
  337.  
  338. // generic dlg text
  339. #define ID_XFDI_GENERICDLGTEXT          800
  340. #define ID_XFDI_GENERICDLGICON          801
  341.  
  342. // "Select class" dlg items; both for separate
  343. // dlg wnd and notebook page
  344. #define ID_XSDI_SC_INTROTEXT            820
  345. #define ID_XSDI_SC_CNR                  821
  346. #define ID_XSDI_SC_TEXT2                822
  347. #define ID_XSDI_SC_BOOTUPSTATUS         823
  348.             // only on notebook page
  349. #define ID_XSDI_SC_CLASSICON            824
  350.             // only on notebook page
  351. #define ID_XSDI_SC_CLASSNAME            825
  352. #define ID_XSDI_SC_REPLACEDBY           826
  353. #define ID_XSDI_SC_CLASSTITLE           827
  354. #define ID_XSDI_SC_CLASSMODULE          828
  355. // "new class" dlg
  356. #define ID_XSDI_SC_DLL                  829
  357. #define ID_XSDI_SC_BROWSE               830
  358. #define ID_XSDI_SC_ICON                 831
  359.  
  360. // "Title clash" dlg
  361. #define ID_XFDI_CLASH_TXT1              840
  362. #define ID_XFDI_CLASH_RENAMENEW         841
  363. #define ID_XFDI_CLASH_RENAMENEWTXT      842
  364. #define ID_XFDI_CLASH_REPLACE           843
  365. #define ID_XFDI_CLASH_APPEND            844
  366. #define ID_XFDI_CLASH_RENAMEOLD         845
  367. #define ID_XFDI_CLASH_RENAMEOLDTXT      846
  368.  
  369. #define ID_XFDI_CLASH_DATEOLD           847
  370. #define ID_XFDI_CLASH_TIMEOLD           848
  371. #define ID_XFDI_CLASH_SIZEOLD           849
  372. #define ID_XFDI_CLASH_DATENEW           850
  373. #define ID_XFDI_CLASH_TIMENEW           851
  374. #define ID_XFDI_CLASH_SIZENEW           852
  375.  
  376. // bootup status
  377. #define ID_XFDI_BOOTUPSTATUSTEXT        859
  378.  
  379. // CONFIG.SYS settings pages
  380. #define ID_XSDI_OS_CURRENTTHREADS       860
  381. #define ID_XSDI_OS_MAXTHREADS           861
  382. #define ID_XSDI_OS_MAXWAIT              862
  383. #define ID_XSDI_OS_PRIORITYDISKIO       863
  384. #define ID_XSDI_OS_CURRENTSWAPSIZE      864
  385. #define ID_XSDI_OS_PHYSICALMEMORY       865
  386. #define ID_XSDI_OS_MINSWAPSIZE          866
  387. #define ID_XSDI_OS_MINSWAPFREE          867
  388. #define ID_XSDI_OS_SWAPPATH             868
  389.  
  390. #define ID_XSDI_OS_FSINSTALLED          870
  391. #define ID_XSDI_OS_CACHESIZE            871
  392. #define ID_XSDI_OS_CACHESIZE_AUTO       872
  393. #define ID_XSDI_OS_CACHE_THRESHOLD      873
  394. #define ID_XSDI_OS_CACHE_LAZYWRITE      874
  395. #define ID_XSDI_OS_CACHE_MAXAGE         875
  396. #define ID_XSDI_OS_CACHE_BUFFERIDLE     876
  397. #define ID_XSDI_OS_CACHE_DISKIDLE       877
  398. #define ID_XSDI_OS_AUTOCHECK            878
  399. #define ID_XSDI_OS_AUTOCHECK_PROPOSE    879
  400.  
  401. #define ID_XSDI_OS_AUTOFAIL             880
  402. #define ID_XSDI_OS_SUPRESSPOPUPS        881
  403. #define ID_XSDI_OS_SUPRESSP_DRIVE       882
  404. #define ID_XSDI_OS_REIPL                883
  405.  
  406. #define ID_XSDI_OS_AUTO_PROGRAMS        890
  407. #define ID_XSDI_OS_AUTO_TASKLIST        891
  408. #define ID_XSDI_OS_AUTO_CONNECTIONS     892
  409. #define ID_XSDI_OS_AUTO_LAUNCHPAD       893
  410. #define ID_XSDI_OS_AUTO_WARPCENTER      894
  411. #define ID_XSDI_OS_RESTART_YES          895
  412. #define ID_XSDI_OS_RESTART_NO           896
  413. #define ID_XSDI_OS_RESTART_FOLDERS      897
  414. #define ID_XSDI_OS_RESTART_REBOOT       898
  415. #define ID_XSDI_OS_AUTOREFRESHFOLDERS   899
  416.  
  417. // logo window
  418. #define ID_XFDI_LOGOBITMAP              990
  419.  
  420. /******************************************
  421.  *          Shutdown defs                 *
  422.  ******************************************/
  423.  
  424. #define ID_SDICON                       4100   // shutdown icon
  425.  
  426. /* dlg templates */
  427. #define ID_SDD_MAIN                     4200
  428. #define ID_SDD_STATUS                   4201
  429. #define ID_SDD_CONFIRM                  4202
  430. #define ID_SDD_CAD                      4203
  431. #define ID_SDD_CLOSEVIO                 4204
  432. #define ID_SDD_CONFIRMWPS               4205
  433. #define ID_SDD_BOOTMGR                  4206
  434.  
  435. /* dlg items */
  436. #define ID_SDDI_LISTBOX                 4301
  437. #define ID_SDDI_BEGINSHUTDOWN           4302
  438. #define ID_SDDI_CANCELSHUTDOWN          4303
  439. #define ID_SDDI_TEXTSHUTTING            4304
  440. #define ID_SDDI_PROGRESSBAR             4305
  441. #define ID_SDDI_STATUS                  4306
  442. #define ID_SDDI_SKIPAPP                 4307
  443. #define ID_SDDI_REBOOT                  4308
  444. #define ID_SDDI_PERCENT                 4309
  445. #define ID_SDDI_MESSAGEAGAIN            4310
  446. #define ID_SDDI_VDMAPPTEXT              4311
  447. #define ID_SDDI_WPS_CLOSEWINDOWS        4312
  448. #define ID_SDDI_ICON                    4313
  449. #define ID_SDDI_BOOTMGR                 4314
  450. #define ID_SDDI_WPS_STARTUPFOLDER       4315
  451.  
  452. /* command defs (used in the Shutdown wnd proc) */
  453. #define ID_SDMI_CLOSEITEM               4400
  454. #define ID_SDMI_UPDATESHUTLIST          4402
  455. #define ID_SDMI_UPDATEPROGRESSBAR       4403
  456. #define ID_SDMI_FLUSHBUFFERS            4404
  457. #define ID_SDMI_CLOSEVIO                4405
  458. #define ID_SDMI_PREPARESAVEWPS          4406
  459. #define ID_SDMI_SAVEWPSITEM             4407
  460. #define ID_SDMI_BEGINCLOSINGITEMS       4408
  461. #define ID_SDMI_CLEANUPANDQUIT          4409
  462.  
  463. /******************************************
  464.  *          Menu IDs                      *
  465.  ******************************************/
  466.  
  467. // context menu in "WPS Classes" container
  468. #define ID_XSM_WPSCLASSES_SEL           (WPMENUID_USER+1000)
  469. #define ID_XSM_WPSCLASSES_NOSEL         (WPMENUID_USER+1001)
  470. #define ID_XSMI_WPS_REGISTER            (WPMENUID_USER+1002)
  471. #define ID_XSMI_WPS_DEREGISTER          (WPMENUID_USER+1003)
  472. #define ID_XSMI_WPS_INFO                (WPMENUID_USER+1004)
  473. #define ID_XSMI_WPS_REPLACE             (WPMENUID_USER+1005)
  474. #define ID_XSMI_WPS_UNREPLACE           (WPMENUID_USER+1006)
  475.  
  476. // The following menu ID's (with _OFS_ in their names)
  477. // are _variable_ menu ID's: XFolder will add the value
  478. // on the "XFolder Internals" page ("menu item id offset")
  479. // to them to avoid ID conflicts. This value is stored
  480. // internally in the GlobalSettings structure.
  481. #define ID_XFMI_OFS_SEPARATOR           (WPMENUID_USER+1)
  482. #define ID_XFMI_OFS_PRODINFO            (WPMENUID_USER+2)
  483. #define ID_XFMI_OFS_REFRESH             (WPMENUID_USER+3)
  484. #define ID_XFMI_OFS_SNAPTOGRID          (WPMENUID_USER+4)
  485. #define ID_XFMI_OFS_OPENPARENT          (WPMENUID_USER+5)
  486. #define ID_XFMI_OFS_OPENPARENTANDCLOSE  (WPMENUID_USER+6)
  487. #define ID_XFMI_OFS_CLOSE               (WPMENUID_USER+7)
  488. #define ID_XFMI_OFS_RESTARTWPS          (WPMENUID_USER+9)
  489. #define ID_XFMI_OFS_FLDRCONTENT         (WPMENUID_USER+10)
  490. #define ID_XFMI_OFS_DUMMY               (WPMENUID_USER+11)
  491. #define ID_XFMI_OFS_COPYFILENAME_MENU   (WPMENUID_USER+12)      // menu item
  492. #define ID_XFMI_OFS_COPYFILENAME_SHORT  (WPMENUID_USER+13)      // folder hotkeys
  493. #define ID_XFMI_OFS_COPYFILENAME_FULL   (WPMENUID_USER+14)      // folder hotkyes
  494. #define ID_XFMI_OFS_BORED               (WPMENUID_USER+15)
  495. #define ID_XFMI_OFS_SELECTSOME          (WPMENUID_USER+16)
  496. #define ID_XFMI_OFS_PROCESSCONTENT      (WPMENUID_USER+17)
  497.  
  498. #define ID_XFMI_OFS_CONTEXTMENU         (WPMENUID_USER+18)
  499.  
  500. #define ID_XFMI_OFS_SORTBYCLASS         (WPMENUID_USER+21)
  501. #define ID_XFMI_OFS_SORTBYEXT           (WPMENUID_USER+27)
  502. #define ID_XFMI_OFS_SORTFOLDERSFIRST    (WPMENUID_USER+28)
  503. #define ID_XFMI_OFS_ALWAYSSORT          (WPMENUID_USER+29)
  504.  
  505. #define ID_XFM_OFS_ATTRIBUTES           (WPMENUID_USER+31)
  506. #define ID_XFMI_OFS_ATTR_ARCHIVED       (WPMENUID_USER+32)
  507. #define ID_XFMI_OFS_ATTR_SYSTEM         (WPMENUID_USER+33)
  508. #define ID_XFMI_OFS_ATTR_HIDDEN         (WPMENUID_USER+34)
  509. #define ID_XFMI_OFS_ATTR_READONLY       (WPMENUID_USER+35)
  510.  
  511. #define ID_XFM_OFS_WARP3FLDRVIEW        (WPMENUID_USER+36)
  512. #define ID_XFMI_OFS_SMALLICONS          (WPMENUID_USER+37)
  513. #define ID_XFMI_OFS_FLOWED              (WPMENUID_USER+38)
  514. #define ID_XFMI_OFS_NONFLOWED           (WPMENUID_USER+39)
  515. #define ID_XFMI_OFS_NOGRID              (WPMENUID_USER+40)
  516.  
  517. #define ID_XFMI_OFS_SHOWSTATUSBAR       (WPMENUID_USER+41)
  518.  
  519. // this is the value used for variable menu items, i.e.
  520. // those inserted according to the config folder and by
  521. // the "folder content" functions; XFolder will use this
  522. // value (i.e. WPMENUID_USER + "menu item id offset"
  523. // + FIRST_VARIABLE) and increment it until 0x8000 is reached
  524. #define FIRST_VARIABLE                  50
  525. #define ID_XFMI_OFS_VARIABLE            (WPMENUID_USER+FIRST_VARIABLE)
  526.  
  527. /******************************************
  528.  *          String IDs                    *
  529.  ******************************************/
  530.  
  531. // XFolder uses the following ID's for language-
  532. // dependent strings. These correspond to the
  533. // string definitions in the NLS .RC file.
  534. // Note that XFolder also uses a message file
  535. // (.MSG) for messages which might turn out to
  536. // be longer than 256 characters.
  537. // These IDs should not have "gaps" in the
  538. // numbers, because OS/2 loads string resources
  539. // in blocks of 16 strings, which does not
  540. // work if the IDs don't have following numbers.
  541. #define ID_XSS_MAIN               2000
  542. #define ID_XSSI_NOTDEFINED        2001
  543. #define ID_XSSI_PRODUCTINFO       2002
  544. #define ID_XSSI_REFRESHNOW        2003
  545. #define ID_XSSI_SNAPTOGRID        2004
  546. #define ID_XSSI_DLLLANGUAGE       2005
  547. #define ID_XSSI_XFOLDERVERSION    2006
  548.  
  549. #define ID_XSSI_FLDRCONTENT       2007
  550. #define ID_XSSI_COPYFILENAME      2008
  551. #define ID_XSSI_BORED             2009
  552. #define ID_XSSI_FLDREMPTY         2010
  553. #define ID_XSSI_SELECTSOME        2011
  554. // startup/shutdown folder context menu
  555. #define ID_XSSI_PROCESSCONTENT    2012
  556.  
  557. #define ID_XFSI_QUICKSTATUS       2013
  558.  
  559. #define ID_XSSI_POPULATING        2014
  560. #define ID_XSSI_SBTEXTNONESEL     2015
  561. #define ID_XSSI_SBTEXTMULTISEL    2016
  562. #define ID_XSSI_SBTEXTWPDATAFILE  2017
  563. #define ID_XSSI_SBTEXTWPDISK      2018
  564. #define ID_XSSI_SBTEXTWPPROGRAM   2019
  565. #define ID_XSSI_SBTEXTWPOBJECT    2020
  566.  
  567. // folder hotkeys: key descriptions
  568. #define ID_XSSI_KEY_CTRL             2201
  569. #define ID_XSSI_KEY_Alt              2202
  570. #define ID_XSSI_KEY_SHIFT            2203
  571.  
  572. #define ID_XSSI_KEY_BACKSPACE        2204
  573. #define ID_XSSI_KEY_TAB              2205
  574. #define ID_XSSI_KEY_BACKTABTAB       2206
  575. #define ID_XSSI_KEY_ENTER            2207
  576. #define ID_XSSI_KEY_ESC              2208
  577. #define ID_XSSI_KEY_SPACE            2209
  578. #define ID_XSSI_KEY_PAGEUP           2210
  579. #define ID_XSSI_KEY_PAGEDOWN         2211
  580. #define ID_XSSI_KEY_END              2212
  581. #define ID_XSSI_KEY_HOME             2213
  582. #define ID_XSSI_KEY_LEFT             2214
  583. #define ID_XSSI_KEY_UP               2215
  584. #define ID_XSSI_KEY_RIGHT            2216
  585. #define ID_XSSI_KEY_DOWN             2217
  586. #define ID_XSSI_KEY_PRINTSCRN        2218
  587. #define ID_XSSI_KEY_INSERT           2219
  588. #define ID_XSSI_KEY_DELETE           2220
  589. #define ID_XSSI_KEY_SCRLLOCK         2221
  590. #define ID_XSSI_KEY_NUMLOCK          2222
  591.  
  592. #define ID_XSSI_KEY_WINLEFT          2223
  593. #define ID_XSSI_KEY_WINRIGHT         2224
  594. #define ID_XSSI_KEY_WINMENU          2225
  595.  
  596. // folder hotkeys: action descriptions
  597. #define ID_XSSI_LB_REFRESHNOW           3000
  598. #define ID_XSSI_LB_SNAPTOGRID           3001
  599. #define ID_XSSI_LB_SELECTALL            3002
  600. #define ID_XSSI_LB_OPENPARENTFOLDER     3003
  601.  
  602. #define ID_XSSI_LB_OPENSETTINGSNOTEBOOK 3004
  603. #define ID_XSSI_LB_OPENNEWDETAILSVIEW   3005
  604. #define ID_XSSI_LB_OPENNEWICONVIEW      3006
  605. #define ID_XSSI_LB_DESELECTALL          3007
  606. #define ID_XSSI_LB_OPENNEWTREEVIEW      3008
  607.  
  608. #define ID_XSSI_LB_FIND                 3009
  609.  
  610. #define ID_XSSI_LB_PICKUP               3010
  611. #define ID_XSSI_LB_PICKUPCANCELDRAG     3011
  612.  
  613. #define ID_XSSI_LB_SORTBYNAME           3012
  614. #define ID_XSSI_LB_SORTBYSIZE           3013
  615. #define ID_XSSI_LB_SORTBYTYPE           3014
  616. #define ID_XSSI_LB_SORTBYREALNAME       3015
  617. #define ID_XSSI_LB_SORTBYWRITEDATE      3016
  618. #define ID_XSSI_LB_SORTBYACCESSDATE     3017
  619. #define ID_XSSI_LB_SORTBYCREATIONDATE   3018
  620.  
  621. #define ID_XSSI_LB_SWITCHTOICONVIEW     3019
  622. #define ID_XSSI_LB_SWITCHTODETAILSVIEW  3020
  623. #define ID_XSSI_LB_SWITCHTOTREEVIEW     3021
  624.  
  625. #define ID_XSSI_LB_ARRANGEDEFAULT       3022
  626. #define ID_XSSI_LB_ARRANGEFROMTOP       3023
  627. #define ID_XSSI_LB_ARRANGEFROMLEFT      3024
  628. #define ID_XSSI_LB_ARRANGEFROMRIGHT     3025
  629. #define ID_XSSI_LB_ARRANGEFROMBOTTOM    3026
  630. #define ID_XSSI_LB_ARRANGEPERIMETER     3027
  631. #define ID_XSSI_LB_ARRANGEHORIZONTALLY  3028
  632. #define ID_XSSI_LB_ARRANGEVERTICALLY    3029
  633.  
  634. #define ID_XSSI_LB_INSERT               3030
  635.  
  636. #define ID_XSSI_LB_SORTBYEXTENSION      3031
  637. #define ID_XSSI_LB_SORTFOLDERSFIRST     3032
  638. #define ID_XSSI_LB_SORTBYCLASS          3033
  639. #define ID_XSSI_LB_OPENPARENTFOLDERANDCLOSE     3034
  640. #define ID_XSSI_LB_SELECTSOME           3035
  641.  
  642. #define ID_XSSI_LB_CLOSEWINDOW          3036
  643.  
  644. #define ID_XSSI_LB_CONTEXTMENU          3037
  645. #define ID_XSSI_LB_TASKLIST             3038
  646.  
  647. #define ID_XSSI_LB_COPYFILENAME_SHORT   3039
  648. #define ID_XSSI_LB_COPYFILENAME_FULL    3040
  649.  
  650. // FIRST and LAST are used be the notebook func to
  651. // calculate corresponding items
  652. #define ID_XSSI_LB_FIRST                3000
  653. #define ID_XSSI_LB_LAST                 3040
  654.  
  655. // shutdown strings
  656. #define ID_SDSI_FLUSHING                3100
  657. #define ID_SDSI_CAD                     3101
  658. #define ID_SDSI_REBOOTING               3102
  659. #define ID_SDSI_CLOSING                 3103
  660. #define ID_SDSI_SHUTDOWN                3104
  661. #define ID_SDSI_RESTARTWPS              3105
  662. #define ID_SDSI_RESTARTINGWPS           3106
  663. #define ID_SDSI_SAVINGDESKTOP           3107
  664. #define ID_SDSI_SAVINGPROFILES          3108
  665. #define ID_SDSI_STARTING                3109
  666. #define ID_SDSI_DEFAULT                 3110
  667.  
  668. // settings page headings
  669. #define ID_XSSI_1GENERIC                3120
  670. #define ID_XSSI_2REMOVEITEMS            3121
  671. #define ID_XSSI_25ADDITEMS              3122
  672. #define ID_XSSI_26CONFIGITEMS           3123
  673. #define ID_XSSI_27STATUSBAR             3124
  674. #define ID_XSSI_3SNAPTOGRID             3125
  675. #define ID_XSSI_4ACCELERATORS           3126
  676. #define ID_XSSI_5INTERNALS              3127
  677. #define ID_XSSI_FILEOPS                 3128
  678.  
  679. #define ID_XSSI_SORT                    3129
  680. #define ID_XSSI_INTERNALS               3130
  681. #define ID_XSSI_WPSCLASSES              3131
  682.  
  683. // sort criteria
  684. #define ID_XSSI_SV_NAME                 3132
  685. #define ID_XSSI_SV_TYPE                 3133
  686. #define ID_XSSI_SV_CLASS                3134
  687. #define ID_XSSI_SV_REALNAME             3135
  688. #define ID_XSSI_SV_SIZE                 3136
  689. #define ID_XSSI_SV_WRITEDATE            3137
  690. #define ID_XSSI_SV_ACCESSDATE           3138
  691. #define ID_XSSI_SV_CREATIONDATE         3139
  692. #define ID_XSSI_SV_EXT                  3140
  693. #define ID_XSSI_SV_FOLDERSFIRST         3141
  694.  
  695. #define ID_XSSI_SV_ALWAYSSORT           3142
  696.  
  697. // message box strings
  698. // #define ID_XSSI_DLG_CONFIRMCONFIGSYS1   4000
  699. // #define ID_XSSI_DLG_CONFIRMCONFIGSYS2   4001
  700.  
  701. // "Yes", "no", etc.
  702. #define ID_XSSI_DLG_YES                 4100
  703. #define ID_XSSI_DLG_NO                  4101
  704. #define ID_XSSI_DLG_OK                  4102
  705. #define ID_XSSI_DLG_CANCEL              4103
  706. #define ID_XSSI_DLG_ABORT               4104
  707. #define ID_XSSI_DLG_RETRY               4105
  708. #define ID_XSSI_DLG_IGNORE              4106
  709.  
  710. // "status bars" page
  711. #define ID_XSSI_SB_CLASSMNEMONICS       4107
  712. #define ID_XSSI_SB_CLASSNOTSUPPORTED    4108
  713.  
  714. // "WPS Classes" page
  715. #define ID_XSSI_WPSCLASSLOADED          4109
  716. #define ID_XSSI_WPSCLASSLOADINGFAILED   4110
  717. #define ID_XSSI_WPSCLASSREPLACEDBY      4111
  718. #define ID_XSSI_WPSCLASSORPHANS         4112
  719. #define ID_XSSI_WPSCLASSORPHANSINFO     4113
  720.  
  721. // CONFIG.SYS pages
  722. #define ID_XSSI_SCHEDULER               4114
  723. #define ID_XSSI_MEMORY                  4115
  724. #define ID_XSSI_ERRORS                  4116
  725. #define ID_XSSI_WPS                     4117
  726.  
  727. // settings submenu strings
  728. #define ID_XFSI_SETTINGS                4118
  729. #define ID_XFSI_SETTINGSNOTEBOOK        4119
  730. #define ID_XFSI_ATTRIBUTES              4120
  731. #define ID_XFSI_ATTR_ARCHIVED           4121
  732. #define ID_XFSI_ATTR_SYSTEM             4122
  733. #define ID_XFSI_ATTR_HIDDEN             4123
  734. #define ID_XFSI_ATTR_READONLY           4124
  735.  
  736. #define ID_XFSI_FLDRSETTINGS            4125
  737. #define ID_XFSI_SMALLICONS              4126
  738. #define ID_XFSI_FLOWED                  4127
  739. #define ID_XFSI_NONFLOWED               4128
  740. #define ID_XFSI_NOGRID                  4129
  741.  
  742. #define ID_XFSI_SHOWSTATUSBAR           4131
  743.  
  744.  
  745. #endif
  746.