home *** CD-ROM | disk | FTP | other *** search
/ Chip 1999 December / Chip_1999-12_cd.bin / zkuste / Svet_OS2 / LCMD0981 / LCMD0981.ZIP / lcmdrc.rc < prev    next >
Text File  |  1999-07-28  |  29KB  |  685 lines

  1. // --------------------------------------------------------------------------
  2. //
  3. //   $Author: LEL $
  4. // $Revision: 0.981000 $
  5. //     $Date: 1999/07/28 20:48:53 $
  6. //
  7. //      File: lcmdrc.rc
  8. //            This file contains a script that defines the user interface
  9. //            components of The Larsen Commander.
  10. //   Created: March 07, 1999. By Leif-Erik Larsen.
  11. //   Project: Larsen Commander.
  12. // Copyright: Leif-Erik Larsen. 1999. Ski, Norway.
  13. //
  14. // --------------------------------------------------------------------------
  15.  
  16.  
  17. /*
  18.  * Include all the language dependent texts.
  19.  */
  20. #include "lcmdtxts.rc"
  21.  
  22.  
  23. /*
  24.  * Include all the icons.
  25.  */
  26. #include "lcmdicns.rc"
  27.  
  28.  
  29. /*
  30.  * The keyboard accelerator table that will be used by the Main Window.
  31.  */
  32. MainWindowAccel=acceltable
  33. (
  34.    cmdHelpAbout                  (key=VK_F1                        )
  35.    cmdLeftChooseDrive            (key=VK_F1       ALT              )
  36.    cmdCurPanelModeBrief          (key=VK_F1       ALT SHIFT        )
  37.    cmdUserMenu                   (key=VK_F2                        )
  38.    cmdCurPanelSortByTime         (key=VK_F2                 CONTROL)
  39.    cmdRightChooseDrive           (key=VK_F2       ALT              )
  40.    cmdCurPanelModeFull           (key=VK_F2       ALT SHIFT        )
  41.    cmdViewFile                   (key=VK_F3                        )
  42.    cmdSearch                     (key=VK_F3           SHIFT        )
  43.    cmdCurPanelSortByName         (key=VK_F3                 CONTROL)
  44.    cmdCurPanelModeWide           (key=VK_F3       ALT SHIFT        )
  45.    cmdEditFile                   (key=VK_F4                        )
  46.    cmdSearchNext                 (key=VK_F4           SHIFT        )
  47.    cmdCurPanelSortByExtension    (key=VK_F4                 CONTROL)
  48.    cmdCurPanelModeTree           (key=VK_F4       ALT SHIFT        )
  49.    cmdCopyFile                   (key=VK_F5                        )
  50.    cmdCurPanelSortByDate         (key=VK_F5                 CONTROL)
  51.    cmdStoredDirs                 (key=VK_F5       ALT              )
  52.    cmdToggleToolbar              (key=VK_F5       ALT SHIFT        )
  53.    cmdMoveFile                   (key=VK_F6                        )
  54.    cmdCurPanelSortBySize         (key=VK_F6                 CONTROL)
  55.    cmdCreateSysObject            (key=VK_F6       ALT              )
  56.    cmdToggleCommandLine          (key=VK_F6       ALT SHIFT        )
  57.    cmdMakeDir                    (key=VK_F7                        )
  58.    cmdCurPanelSortUnsorted       (key=VK_F7                 CONTROL)
  59.    cmdFindFile                   (key=VK_F7       ALT              )
  60.    cmdCurPanelGotoRecentDir      (key=VK_F7           SHIFT        )
  61.    cmdToggleKeybar               (key=VK_F7       ALT SHIFT        )
  62.    cmdDeleteFile                 (key=VK_F8                        )
  63.    cmdCurPanelSortReverse        (key=VK_F8                 CONTROL)
  64.    cmdUndeleteFile               (key=VK_F8           SHIFT CONTROL)
  65.    cmdCommandHistory             (key=VK_F8       ALT              )
  66.    cmdDirHistory                 (key=VK_F8           SHIFT        )
  67.    cmdToggleStatusbar            (key=VK_F8       ALT SHIFT        )
  68.    cmdPullDownMenu               (key=VK_F9                        )
  69.    cmdCurPanelOptionsSort        (key=VK_F9                 CONTROL)
  70.    cmdFindDuplicateFiles         (key=VK_F9       ALT              )
  71.    cmdSaveOptions                (key=VK_F9           SHIFT        )
  72.    cmdToggleFullScreen           (key=VK_F9       ALT SHIFT        )
  73.    cmdCloseAndExit               (key=VK_F10                       )
  74.    cmdShowContextMenu            (key=VK_F10          SHIFT        )
  75.    cmdNavigateDown               (key=VK_DOWN                      )
  76.    cmdNavigateNextMatch          (key=VK_DOWN     ALT              )
  77.    cmdScrollCmdHistDown          (key=VK_DOWN               CONTROL)
  78.    cmdNavigateUp                 (key=VK_UP                        )
  79.    cmdNavigatePrevMatch          (key=VK_UP       ALT              )
  80.    cmdScrollCmdHistUp            (key=VK_UP                 CONTROL)
  81.    cmdNavigateRight              (key=VK_RIGHT                     )
  82.    cmdNavigateLeft               (key=VK_LEFT                      )
  83.    cmdNavigatePageDown           (key=VK_PAGEDOWN                  )
  84.    cmdWalkDirectoryDown          (key=VK_PAGEDOWN           CONTROL)
  85.    cmdNavigatePageUp             (key=VK_PAGEUP                    )
  86.    cmdWalkDirectoryUp            (key=VK_PAGEUP             CONTROL)
  87.    cmdNavigateHome               (key=VK_HOME                      )
  88.    cmdNavigateEnd                (key=VK_END                       )
  89.    cmdToggleItemMarkAndMoveDown  (key=VK_INSERT                    )
  90.    cmdNavigateTab                (key=VK_TAB                       )
  91.    cmdNavigateBetwConAndCmdLine  (key=VK_TAB          SHIFT        )
  92.    cmdAutoFilenameForeward       (key=VK_TAB                CONTROL)
  93.    cmdAutoFilenameBackward       (key=VK_TAB          SHIFT CONTROL)
  94.    cmdEscape                     (key=VK_ESC                       )
  95.    cmdToggleItemMark             (key=VK_SPACE              CONTROL)
  96.    cmdNavigateEnter              (key=VK_ENTER                     )
  97.    cmdRunCommandInNewSession     (key=VK_ENTER    ALT              )
  98.    cmdShowFileInfo               (key=VK_ENTER        SHIFT        )
  99.    cmdInsertItemPathInCmdLine    (key=VK_ENTER        SHIFT CONTROL)
  100.    cmdInsertItemNameInCmdLine    (key=VK_ENTER              CONTROL)
  101.    cmdStoreDirIntoFirstFreeIndex (key="+"                   CONTROL)
  102.    cmdWalkRootDirectory          (key="\\"                  CONTROL)
  103.    cmdWalkOppositeDirectory      (key="\\"        ALT              )
  104.  
  105.    cmdActivateStoredDir0         (key="0"                   CONTROL)
  106.    cmdActivateStoredDir1         (key="1"                   CONTROL)
  107.    cmdActivateStoredDir2         (key="2"                   CONTROL)
  108.    cmdActivateStoredDir3         (key="3"                   CONTROL)
  109.    cmdActivateStoredDir4         (key="4"                   CONTROL)
  110.    cmdActivateStoredDir5         (key="5"                   CONTROL)
  111.    cmdActivateStoredDir6         (key="6"                   CONTROL)
  112.    cmdActivateStoredDir7         (key="7"                   CONTROL)
  113.    cmdActivateStoredDir8         (key="8"                   CONTROL)
  114.    cmdActivateStoredDir9         (key="9"                   CONTROL)
  115.  
  116.    cmdStoreDir0                  (key="0"             SHIFT CONTROL)
  117.    cmdStoreDir1                  (key="1"             SHIFT CONTROL)
  118.    cmdStoreDir2                  (key="2"             SHIFT CONTROL)
  119.    cmdStoreDir3                  (key="3"             SHIFT CONTROL)
  120.    cmdStoreDir4                  (key="4"             SHIFT CONTROL)
  121.    cmdStoreDir5                  (key="5"             SHIFT CONTROL)
  122.    cmdStoreDir6                  (key="6"             SHIFT CONTROL)
  123.    cmdStoreDir7                  (key="7"             SHIFT CONTROL)
  124.    cmdStoreDir8                  (key="8"             SHIFT CONTROL)
  125.    cmdStoreDir9                  (key="9"             SHIFT CONTROL)
  126.  
  127.    cmdChooseFileAttrib           (key="A"                   CONTROL)
  128.    cmdChooseFileNameCase         (key="C"             SHIFT CONTROL)
  129.    cmdBreak                      (key="C"                   CONTROL)
  130.    cmdChooseFileTime             (key="D"             SHIFT CONTROL)
  131.    cmdScrollCmdHistUp            (key="E"                   CONTROL)
  132.    cmdInsertItemPathInCmdLine    (key="F"                   CONTROL)
  133.    cmdCopyCurFilePath            (key="F"             SHIFT CONTROL)
  134.    cmdGotoLineNum                (key="G"                   CONTROL)
  135.    cmdToggleHiddenFiles          (key="H"                   CONTROL)
  136.    cmdCurPanelCycleIconTypes     (key="I"                   CONTROL)
  137.    cmdCopyCurFileName            (key="J"             SHIFT CONTROL)
  138.    cmdCompareDirs                (key="K"                   CONTROL)
  139.    cmdOppositePanelInfo          (key="L"                   CONTROL)
  140.    cmdPullDownMenu               (key="N"                   CONTROL)
  141.    cmdTogglePanels               (key="O"                   CONTROL)
  142.    cmdCompareFiles               (key="P"                   CONTROL)
  143.    cmdCalcDirSize                (key="Q"                   CONTROL)
  144.    cmdCurPanelReread             (key="R"                   CONTROL)
  145.    cmdCurPanelRescanDrive        (key="R"         ALT       CONTROL)
  146.    cmdSelectGroup                (key="T"                   CONTROL)
  147.    cmdSwapPanels                 (key="U"                   CONTROL)
  148.    cmdCalcRootDirSize            (key="V"             SHIFT CONTROL)
  149.    cmdOpenSysFolder              (key="W"                   CONTROL)
  150.    cmdScrollCmdHistDown          (key="X"                   CONTROL)
  151.    cmdBrowseEAs                  (key="X"             SHIFT CONTROL)
  152.    cmdUnselectGroup              (key="Y"                   CONTROL)
  153.  
  154.    cmdSelectGroup                (key="+"                           GRAY)
  155.    cmdUnselectGroup              (key="-"                           GRAY)
  156.    cmdInvertSelection            (key="*"                           GRAY)
  157. )
  158.  
  159.  
  160. /*
  161.  * The main menu of Larsen Commander.
  162.  * This is the menu that will be used as the menubar of the Main Window.
  163.  */
  164. MainWindowMenu=menu
  165. (
  166.    popup (id=LEFTPANELMENU)
  167.    (
  168.       item (id=cmdLeftModeBrief key=cmdCurPanelModeBrief icon=IDP_TBBRIEF)
  169.       item (id=cmdLeftModeFull key=cmdCurPanelModeFull icon=IDP_TBFULL)
  170.       item (id=cmdLeftModeWide key=cmdCurPanelModeWide icon=IDP_TBWIDE)
  171.       item (id=cmdLeftModeTree key=cmdCurPanelModeTree icon=IDP_TBTREE)
  172.       item (id=cmdLeftModeInfo key=cmdOppositePanelInfo icon=IDP_TBINFO)
  173.  
  174.       separator ()
  175.  
  176.       popup (id=LEFTOPTIONSMENU)
  177.       (
  178.          item (id=cmdLeftCycleIconTypes key=cmdCurPanelCycleIconTypes icon=IDP_TBCYCLEICONS)
  179.  
  180.          separator ()
  181.  
  182.          item (id=cmdLeftSortByName key=cmdCurPanelSortByName icon=IDP_SORTBYNAME)
  183.          item (id=cmdLeftSortByExtension key=cmdCurPanelSortByExtension icon=IDP_SORTBYEXT)
  184.          item (id=cmdLeftSortByTime key=cmdCurPanelSortByTime icon=IDP_SORTBYTIME)
  185.          item (id=cmdLeftSortByDate key=cmdCurPanelSortByDate icon=IDP_SORTBYDATE)
  186.          item (id=cmdLeftSortBySize key=cmdCurPanelSortBySize icon=IDP_SORTBYSIZE)
  187.          item (id=cmdLeftSortUnsorted key=cmdCurPanelSortUnsorted)
  188.          item (id=cmdLeftSortReverse key=cmdCurPanelSortReverse)
  189.  
  190.          separator ()
  191.  
  192.          popup (id=OPTIONSJUMPTOMENU)
  193.          (
  194.             item (id=cmdLeftOptionsStartup)
  195.             item (id=cmdLeftOptionsFont)
  196.             item (id=cmdLeftOptionsFileFilter icon=IDF_FILEFILTER)
  197.             item (id=cmdLeftOptionsView)
  198.             item (id=cmdLeftOptionsSort key=cmdCurPanelOptionsSort)
  199.          )
  200.       )
  201.  
  202.       separator ()
  203.  
  204.       item (id=cmdLeftReread key=cmdCurPanelReread icon=IDP_TBREREAD)
  205.       item (id=cmdLeftRescanDrive key=cmdCurPanelRescanDrive icon=IDP_RESCANDRIVE)
  206.       item (id=cmdLeftChooseDrive icon=IDP_DRIVE_HARDDISK)
  207.    )
  208.  
  209.    popup (id=FILESMENU)
  210.    (
  211.       item (id=cmdViewFile icon=IDP_TBVIEW)
  212.       item (id=cmdEditFile icon=IDP_TBEDIT)
  213.       item (id=cmdCopyFile icon=IDP_TBCOPY)
  214.       item (id=cmdMoveFile icon=IDP_TBMOVE)
  215.       item (id=cmdMakeDir icon=IDP_TBMAKEDIR)
  216.       item (id=cmdDeleteFile icon=IDP_TBDELETE)
  217.       item (id=cmdUndeleteFile icon=IDP_UNDELETE)
  218.  
  219.       separator ()
  220.  
  221.       item (id=cmdShowFileInfo icon=IDP_FILEDETAILS)
  222.       item (id=cmdChooseFileAttrib icon=IDP_FILEATTRIBUTES)
  223.       item (id=cmdChooseFileNameCase icon=IDP_TBFILENAMECASE)
  224.       item (id=cmdChooseFileTime icon=IDP_TBFILETIME)
  225.       item (id=cmdBrowseEAs icon=IDP_EXTENDEDATTRIBUTES)
  226.  
  227.       separator ()
  228.  
  229.       item (id=cmdOpenSysFolder icon=IDP_TBOPENWPSFOLDER)
  230.       item (id=cmdCreateSysObject icon=IDP_CREATESYSOBJECT)
  231.  
  232.       separator ()
  233.  
  234.       item (id=cmdSelectGroup icon=IDP_SELECTGROUP)
  235.       item (id=cmdUnselectGroup icon=IDP_UNSELECTGROUP)
  236.       item (id=cmdInvertSelection icon=IDP_INVERTSELECTION)
  237.  
  238.       separator ()
  239.  
  240.       item (id=cmdCloseAndExit icon=IDP_TBEXIT)
  241.    )
  242.  
  243.    popup (id=COMMANDSMENU)
  244.    (
  245.       item (id=cmdStoredDirs icon=IDP_TBFASTDIRS)
  246.  
  247.       popup (id=ACTIVATESTOREDDIRSMENU)
  248.       (
  249.          item (id=cmdActivateStoredDir0)
  250.          item (id=cmdActivateStoredDir1)
  251.          item (id=cmdActivateStoredDir2)
  252.          item (id=cmdActivateStoredDir3)
  253.          item (id=cmdActivateStoredDir4)
  254.          item (id=cmdActivateStoredDir5)
  255.          item (id=cmdActivateStoredDir6)
  256.          item (id=cmdActivateStoredDir7)
  257.          item (id=cmdActivateStoredDir8)
  258.          item (id=cmdActivateStoredDir9)
  259.       )
  260.  
  261.       popup (id=STORECURDIRMENU)
  262.       (
  263.          item (id=cmdStoreDir0)
  264.          item (id=cmdStoreDir1)
  265.          item (id=cmdStoreDir2)
  266.          item (id=cmdStoreDir3)
  267.          item (id=cmdStoreDir4)
  268.          item (id=cmdStoreDir5)
  269.          item (id=cmdStoreDir6)
  270.          item (id=cmdStoreDir7)
  271.          item (id=cmdStoreDir8)
  272.          item (id=cmdStoreDir9)
  273.  
  274.          separator ()
  275.  
  276.          item (id=cmdStoreDirIntoFirstFreeIndex)
  277.       )
  278.  
  279.       separator ()
  280.  
  281.       item (id=cmdFindFile icon=IDP_FINDFILE)
  282.       item (id=cmdCommandHistory icon=IDP_TBCMDHIST)
  283.       item (id=cmdDirHistory icon=IDP_TBDIRHIST)
  284.       item (id=cmdFindDuplicateFiles icon=IDP_FINDDUPFILES)
  285.  
  286.       separator ()
  287.  
  288.       item (id=cmdCurPanelGotoRecentDir icon=IDP_GOTORECENTDIR)
  289.       item (id=cmdSwapPanels icon=IDP_TBSWAPPANELS)
  290.       item (id=cmdTogglePanels icon=IDP_TBTOGGLEPANELS)
  291.       item (id=cmdCompareFiles icon=IDP_COMPAREFILES)
  292.       item (id=cmdCompareDirs icon=IDP_COMPAREDIRS)
  293.  
  294.       separator ()
  295.  
  296.       item (id=cmdCalcDirSize icon=IDP_CALCDIR)
  297.       item (id=cmdCalcRootDirSize icon=IDP_CALCDRIVE)
  298.  
  299.       separator ()
  300.  
  301.       // item (id=cmdProcessFilesByCommand)
  302.       item (id=cmdUserMenu icon=IDP_TBUSERMENU)
  303.    )
  304.  
  305.    popup (id=OPTIONSMENU)
  306.    (
  307.       item (id=cmdToggleToolbar icon=IDP_TOGGLETOOLBAR)
  308.       item (id=cmdToggleCommandLine icon=IDP_TOGGLECMDLINE)
  309.       item (id=cmdToggleKeybar icon=IDP_TOGGLEKEYBAR)
  310.       item (id=cmdToggleStatusbar icon=IDP_TBTOGGLESTATBAR)
  311.       item (id=cmdToggleFullScreen icon=IDP_TBFULLSCREEN)
  312.  
  313.       separator ()
  314.  
  315.       item (id=cmdToggleHiddenFiles icon=IDP_SHOWHIDDENFILES)
  316.       item (id=cmdToggleSaveOptionsOnExit)
  317.  
  318.       separator ()
  319.  
  320.       item (id=cmdOptionsDialog icon=IDP_OPTIONSDIALOG)
  321.  
  322.       popup (id=OPTIONSJUMPTOMENU)
  323.       (
  324.          popup (id=OPTIONSSTARTUPMENU)
  325.          (
  326.             item (id=cmdLeftOptionsStartup text=%textLeftPanelxxx hint=%cmdLeftOptionsStartup icon=IDP_LEFTPANEL)
  327.             item (id=cmdRightOptionsStartup text=%textRightPanelxxx hint=%cmdRightOptionsStartup icon=IDP_RIGHTPANEL)
  328.          )
  329.  
  330.          popup (id=OPTIONSFILTERMENU icon=IDF_FILEFILTER)
  331.          (
  332.             item (id=cmdLeftOptionsFileFilter text=%textLeftPanelxxx hint=%cmdLeftOptionsFileFilter icon=IDP_LEFTPANEL)
  333.             item (id=cmdRightOptionsFileFilter text=%textRightPanelxxx hint=%cmdRightOptionsFileFilter icon=IDP_RIGHTPANEL)
  334.          )
  335.  
  336.          popup (id=OPTIONSSORTMENU)
  337.          (
  338.             item (id=cmdLeftOptionsSort text=%textLeftPanelxxx hint=%cmdLeftOptionsSort icon=IDP_LEFTPANEL)
  339.             item (id=cmdRightOptionsSort text=%textRightPanelxxx hint=%cmdRightOptionsSort icon=IDP_RIGHTPANEL)
  340.          )
  341.  
  342.          popup (id=OPTIONSVIEWMENU)
  343.          (
  344.             item (id=cmdLeftOptionsView text=%textLeftPanelxxx hint=%cmdLeftOptionsView icon=IDP_LEFTPANEL)
  345.             item (id=cmdRightOptionsView text=%textRightPanelxxx hint=%cmdRightOptionsView icon=IDP_RIGHTPANEL)
  346.             item (id=cmdOptionsView)
  347.             item (id=cmdOptionsStyle)
  348.          )
  349.  
  350.          popup (id=OPTIONSVARIOUSMENU)
  351.          (
  352.             item (id=cmdOptionsConfirmations)
  353.             item (id=cmdOptionsSaveOnExit)
  354.             item (id=cmdOptionsVarious1)
  355.          )
  356.  
  357.          popup (id=OPTIONSFONTMENU)
  358.          (
  359.             item (id=cmdLeftOptionsFont text=%textLeftPanelxxx hint=%cmdLeftOptionsFont icon=IDP_LEFTPANEL)
  360.             item (id=cmdRightOptionsFont text=%textRightPanelxxx hint=%cmdRightOptionsFont icon=IDP_RIGHTPANEL)
  361.             item (id=cmdOptionsFont)
  362.          )
  363.  
  364.          popup (id=OPTIONSCOLORMENU)
  365.          (
  366.             item (id=cmdLeftOptionsColor icon=IDP_LEFTPANEL)
  367.             item (id=cmdRightOptionsColor icon=IDP_RIGHTPANEL)
  368.             item (id=cmdOptionsColor)
  369.          )
  370.  
  371.          popup (id=OPTIONSCOMMANDSMENU)
  372.          (
  373.             item (id=cmdOptionsInternalCommands)
  374.             item (id=cmdOptionsEnvironmentVars)
  375.             item (id=cmdOptionsAliases)
  376.             item (id=cmdOptionsNonConsoleApps)
  377.          )
  378.  
  379.          popup (id=OPTIONSPROGSMENU)
  380.          (
  381.             item (id=cmdProgOptionsEditor icon=IDP_TBEDIT)
  382.             item (id=cmdProgOptionsViewer icon=IDP_TBVIEW)
  383.             item (id=cmdProgOptionsFileFinder icon=IDP_FINDFILE)
  384.             item (id=cmdProgOptionsFileDiff icon=IDP_COMPAREFILES)
  385.             item (id=cmdProgOptionsFileDupFinder icon=IDP_FINDDUPFILES)
  386.             item (id=cmdProgOptionsUndeleter icon=IDP_UNDELETE)
  387.             item (id=cmdProgOptionsEABrowser icon=IDP_EXTENDEDATTRIBUTES)
  388.          )
  389.       )
  390.  
  391.       separator ()
  392.  
  393.       item (id=cmdSaveOptions icon=IDP_TBSAVESETUP)
  394.    )
  395.  
  396.    popup (id=RIGHTPANELMENU)
  397.    (
  398.       item (id=cmdRightModeBrief key=cmdCurPanelModeBrief icon=IDP_TBBRIEF)
  399.       item (id=cmdRightModeFull key=cmdCurPanelModeFull icon=IDP_TBFULL)
  400.       item (id=cmdRightModeWide key=cmdCurPanelModeWide icon=IDP_TBWIDE)
  401.       item (id=cmdRightModeTree key=cmdCurPanelModeTree icon=IDP_TBTREE)
  402.       item (id=cmdRightModeInfo key=cmdOppositePanelInfo icon=IDP_TBINFO)
  403.  
  404.       separator ()
  405.  
  406.       popup (id=RIGHTOPTIONSMENU)
  407.       (
  408.          item (id=cmdRightCycleIconTypes key=cmdCurPanelCycleIconTypes icon=IDP_TBCYCLEICONS)
  409.  
  410.          separator ()
  411.  
  412.          item (id=cmdRightSortByName key=cmdCurPanelSortByName icon=IDP_SORTBYNAME)
  413.          item (id=cmdRightSortByExtension key=cmdCurPanelSortByExtension icon=IDP_SORTBYEXT)
  414.          item (id=cmdRightSortByTime key=cmdCurPanelSortByTime icon=IDP_SORTBYTIME)
  415.          item (id=cmdRightSortByDate key=cmdCurPanelSortByDate icon=IDP_SORTBYDATE)
  416.          item (id=cmdRightSortBySize key=cmdCurPanelSortBySize icon=IDP_SORTBYSIZE)
  417.          item (id=cmdRightSortUnsorted key=cmdCurPanelSortUnsorted)
  418.          item (id=cmdRightSortReverse key=cmdCurPanelSortReverse)
  419.  
  420.          separator ()
  421.  
  422.          popup (id=OPTIONSJUMPTOMENU)
  423.          (
  424.             item (id=cmdRightOptionsStartup)
  425.             item (id=cmdRightOptionsFont)
  426.             item (id=cmdRightOptionsFileFilter icon=IDF_FILEFILTER)
  427.             item (id=cmdRightOptionsView)
  428.             item (id=cmdRightOptionsSort key=cmdCurPanelOptionsSort)
  429.          )
  430.       )
  431.  
  432.       separator ()
  433.  
  434.       item (id=cmdRightReread key=cmdCurPanelReread icon=IDP_TBREREAD)
  435.       item (id=cmdRightRescanDrive key=cmdCurPanelRescanDrive icon=IDP_RESCANDRIVE)
  436.       item (id=cmdRightChooseDrive icon=IDP_DRIVE_HARDDISK)
  437.    )
  438.  
  439.    popup (id=HELPMENU)
  440.    (
  441.       item (id=cmdHelpIndex)
  442.       item (id=cmdHelpHelp icon=IDP_HELPHELP)
  443.       item (id=cmdHelpContents icon=IDP_HELPCONTENTS)
  444.       item (id=cmdHelpKeyboard icon=IDP_HELPKEYS)
  445.  
  446.       separator ()
  447.  
  448.       item (id=cmdHelpAbout icon=IDP_HELPABOUT)
  449.    )
  450. )
  451.  
  452.  
  453. /*
  454.  * The keyboard accelerator table that will be used by the Console
  455.  * Monitor window when that window has the input focus.
  456.  */
  457. ConsoleMonitorAccel=acceltable
  458. (
  459.    cmdNavigateUp                (key=VK_UP                        )
  460.    cmdNavigateDown              (key=VK_DOWN                      )
  461.    cmdNavigateLeft              (key=VK_LEFT                      )
  462.    cmdNavigateRight             (key=VK_RIGHT                     )
  463.    cmdNavigateHome              (key=VK_HOME                      )
  464.    cmdNavigateEnd               (key=VK_END                       )
  465.    cmdNavigatePrevWord          (key=VK_LEFT               CONTROL)
  466.    cmdNavigateNextWord          (key=VK_RIGHT              CONTROL)
  467.    cmdNavigatePageUp            (key=VK_PAGEUP                    )
  468.    cmdNavigatePageDown          (key=VK_PAGEDOWN                  )
  469.    cmdNavigateTop               (key=VK_HOME               CONTROL)
  470.    cmdNavigateTop               (key=VK_PAGEUP             CONTROL)
  471.    cmdNavigateBottom            (key=VK_END                CONTROL)
  472.    cmdNavigateBottom            (key=VK_PAGEDOWN           CONTROL)
  473.    cmdNavigateSelectUp          (key=VK_UP           SHIFT CONTROL)
  474.    cmdNavigateSelectUp          (key=VK_UP           SHIFT        )
  475.    cmdNavigateSelectDown        (key=VK_DOWN         SHIFT CONTROL)
  476.    cmdNavigateSelectDown        (key=VK_DOWN         SHIFT        )
  477.    cmdNavigateSelectLeft        (key=VK_LEFT         SHIFT        )
  478.    cmdNavigateSelectRight       (key=VK_RIGHT        SHIFT        )
  479.    cmdNavigateSelectHome        (key=VK_HOME         SHIFT        )
  480.    cmdNavigateSelectEnd         (key=VK_END          SHIFT        )
  481.    cmdNavigateSelectPrevWord    (key=VK_LEFT         SHIFT CONTROL)
  482.    cmdNavigateSelectNextWord    (key=VK_RIGHT        SHIFT CONTROL)
  483.    cmdNavigateSelectPageUp      (key=VK_PAGEUP       SHIFT        )
  484.    cmdNavigateSelectPageDown    (key=VK_PAGEDOWN     SHIFT        )
  485.    cmdNavigateSelectTop         (key=VK_HOME         SHIFT CONTROL)
  486.    cmdNavigateSelectTop         (key=VK_PAGEUP       SHIFT CONTROL)
  487.    cmdNavigateSelectBottom      (key=VK_END          SHIFT CONTROL)
  488.    cmdNavigateSelectBottom      (key=VK_PAGEDOWN     SHIFT CONTROL)
  489.    cmdCopy                      (key=VK_INSERT             CONTROL)
  490.  
  491.    // Commands that already are bound by the accelerator table of the Main Window:
  492.    // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  493.    // cmdSearch                 (key=VK_F3           SHIFT        )
  494.    // cmdSearchNext             (key=VK_F4           SHIFT        )
  495.    // cmdGotoLineNum            (key="G"                   CONTROL)
  496.  
  497.    // Commands that are not bound to a specific shortcut key:
  498.    // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  499.    // cmdSelectAll ()
  500. )
  501.  
  502.  
  503. /*
  504.  * The context menu of the Console Monitor window.
  505.  */
  506. ConsoleMonitorMenu=menu
  507. (
  508.    item (id=cmdCopy)
  509.  
  510.    separator ()
  511.  
  512.    item (id=cmdSearch icon=IDP_SEARCH)
  513.    item (id=cmdSearchNext icon=IDP_SEARCHNEXT)
  514.    item (id=cmdGotoLineNum icon=IDP_GOTO)
  515.  
  516.    separator ()
  517.  
  518.    item (id=cmdSelectAll icon=IDP_EDITSELECTALL)
  519. )
  520.  
  521.  
  522. /*
  523.  * The keyboard accelerator table that will be used by the Command Line Entry
  524.  * Field window when that window has the input focus.
  525.  */
  526. CommandLineAccel=acceltable
  527. (
  528.    cmdClear                      (key=VK_DELETE                    )
  529.    cmdCut                        (key=VK_DELETE       SHIFT        )
  530.    cmdCopy                       (key=VK_INSERT             CONTROL)
  531.    cmdPaste                      (key=VK_INSERT       SHIFT        )
  532.    cmdScrollConMonTop            (key=VK_HOME         SHIFT CONTROL)
  533.    cmdScrollConMonHome           (key=VK_HOME         SHIFT        )
  534.    cmdScrollConMonBottom         (key=VK_END          SHIFT CONTROL)
  535.    cmdScrollConMonEnd            (key=VK_END          SHIFT        )
  536.    cmdScrollConMonUp             (key=VK_UP           SHIFT        )
  537.    cmdScrollConMonDown           (key=VK_DOWN         SHIFT        )
  538.    cmdScrollConMonPageUp         (key=VK_PAGEUP       SHIFT        )
  539.    cmdScrollConMonPageDown       (key=VK_PAGEDOWN     SHIFT        )
  540.    cmdScrollConMonLeft           (key=VK_LEFT         SHIFT        )
  541.    cmdScrollConMonRight          (key=VK_RIGHT        SHIFT        )
  542.    cmdMoveCaretRight             (key=VK_RIGHT                     )
  543.    cmdMoveCaretRight             (key=VK_RIGHT    ALT              )
  544.    cmdMoveCaretWordRight         (key=VK_RIGHT              CONTROL)
  545.    cmdMoveCaretWordRight         (key=VK_RIGHT    ALT       CONTROL)
  546.    cmdMoveCaretLeft              (key=VK_LEFT                      )
  547.    cmdMoveCaretLeft              (key=VK_LEFT     ALT              )
  548.    cmdMoveCaretWordLeft          (key=VK_LEFT               CONTROL)
  549.    cmdMoveCaretWordLeft          (key=VK_LEFT     ALT       CONTROL)
  550.    cmdMoveCaretHome              (key=VK_HOME                      )
  551.    cmdMoveCaretHome              (key=VK_HOME     ALT              )
  552.    cmdMoveCaretEnd               (key=VK_END                       )
  553.    cmdMoveCaretEnd               (key=VK_END      ALT              )
  554.    cmdMoveCaretRight             (key="D"                   CONTROL)
  555.    cmdMoveCaretLeft              (key="S"                   CONTROL)
  556.  
  557.    // The below keyboard codes will be
  558.    // translated only when there are some selected text:
  559.    // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  560.    // VK_DELETE
  561.  
  562.    // The below keyboard codes will be
  563.    // translated only when the file panels are not visible:
  564.    // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  565.    // VK_HOME
  566.    // VK_END
  567.  
  568.    // The below keyboard codes will be translated only when
  569.    // the file panels are not visible or when panel mode is WIDE:
  570.    // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  571.    // VK_LEFT
  572.    // VK_RIGHT
  573.  
  574.    // The below keyboard codes will be translated
  575.    // only when there are no text in the command line:
  576.    // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  577.    // SHIFT+VK_HOME
  578.    // SHIFT+VK_END
  579.    // SHIFT+VK_LEFT
  580.    // SHIFT+VK_RIGHT
  581.  
  582.    // Commands that already are bound by
  583.    // the accelerator table of the Main Window:
  584.    // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  585.    // cmdNavigateEnter
  586.    // cmdRunCommandInNewSession
  587.    // cmdScrollCmdHistUp
  588.    // cmdScrollCmdHistDown
  589.    // cmdCommandHistory
  590.  
  591.    // Commands that are not bound to a specific shortcut key:
  592.    // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  593.    // cmdSelectAll ()
  594. )
  595.  
  596.  
  597. /*
  598.  * The context menu of the command line.
  599.  */
  600. CommandLineMenu=menu
  601. (
  602.    item (id=cmdCut icon=IDP_EDITCUT)
  603.    item (id=cmdCopy)
  604.    item (id=cmdPaste)
  605.    item (id=cmdClear)
  606.    item (id=cmdSelectAll icon=IDP_EDITSELECTALL)
  607.  
  608.    separator ()
  609.  
  610.    item (id=cmdNavigateEnter)
  611.    item (id=cmdRunCommandInNewSession)
  612.  
  613.    separator ()
  614.  
  615.    item (id=cmdScrollCmdHistUp)
  616.    item (id=cmdScrollCmdHistDown)
  617.    item (id=cmdCommandHistory icon=IDP_TBCMDHIST)
  618.    item (id=cmdDirHistory icon=IDP_TBDIRHIST)
  619. )
  620.  
  621.  
  622. /*
  623.  * The context menu of file items.
  624.  */
  625. FileItemContextMenu=menu
  626. (
  627.    item (id=cmdViewFile icon=IDP_TBVIEW)
  628.    item (id=cmdEditFile icon=IDP_TBEDIT)
  629.    item (id=cmdCopyFile icon=IDP_TBCOPY)
  630.    item (id=cmdMoveFile icon=IDP_TBMOVE)
  631.    item (id=cmdMakeDir icon=IDP_TBMAKEDIR)
  632.    item (id=cmdDeleteFile icon=IDP_TBDELETE)
  633.  
  634.    separator ()
  635.  
  636.    item (id=cmdShowFileInfo icon=IDP_FILEDETAILS)
  637.    item (id=cmdCopyCurFilePath icon=IDP_COPYFULLPATH)
  638.    item (id=cmdCopyCurFileName icon=IDP_COPYFILENAME)
  639.  
  640.    separator ()
  641.  
  642.    item (id=cmdOpenSysFolder icon=IDP_TBOPENWPSFOLDER)
  643.    item (id=cmdCreateSysObject icon=IDP_CREATESYSOBJECT)
  644.  
  645.    separator ()
  646.  
  647.    item (id=cmdSelectGroup icon=IDP_SELECTGROUP)
  648.    item (id=cmdUnselectGroup icon=IDP_UNSELECTGROUP)
  649. )
  650.  
  651.  
  652. MainWindowToolbar=toolbar
  653. (
  654.    pushbutton (id=cmdHelpAbout icon=IDP_HELPABOUT)
  655.    pushbutton (id=cmdViewFile icon=IDP_TBVIEW)
  656.    pushbutton (id=cmdEditFile icon=IDP_TBEDIT)
  657.    pushbutton (id=cmdCopyFile icon=IDP_TBCOPY)
  658.    pushbutton (id=cmdMoveFile icon=IDP_TBMOVE)
  659.    pushbutton (id=cmdMakeDir icon=IDP_TBMAKEDIR)
  660.    pushbutton (id=cmdDeleteFile icon=IDP_TBDELETE)
  661.    pushbutton (id=cmdCloseAndExit icon=IDP_TBEXIT)
  662.    separator  ()
  663.    pushbutton (id=cmdCurPanelModeBrief icon=IDP_TBBRIEF)
  664.    pushbutton (id=cmdCurPanelModeFull icon=IDP_TBFULL)
  665.    pushbutton (id=cmdCurPanelModeWide icon=IDP_TBWIDE)
  666.    pushbutton (id=cmdCurPanelModeTree icon=IDP_TBTREE)
  667.    pushbutton (id=cmdOppositePanelInfo icon=IDP_TBINFO)
  668.    separator  ()
  669.    pushbutton (id=cmdCurPanelReread icon=IDP_TBREREAD)
  670.    pushbutton (id=cmdAlignPanelsWidth icon=IDP_TBALIGNPANELSW)
  671.    pushbutton (id=cmdAlignPanelsHeight icon=IDP_TBALIGNPANELSH)
  672.    pushbutton (id=cmdStoredDirs icon=IDP_TBFASTDIRS)
  673.    pushbutton (id=cmdOpenSysFolder icon=IDP_TBOPENWPSFOLDER)
  674.    separator  ()
  675.    pushbutton (id=cmdSaveOptions icon=IDP_TBSAVESETUP)
  676. )
  677.  
  678.  
  679. /*
  680.  * Include the user defined menu (F2).
  681.  */
  682. #include "lcmduser.rc"
  683.  
  684.  
  685.