home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 11 Util / 11-Util.zip / CFGED1B.ZIP / CFGEDSRC.ZIP / CFGED.RC < prev    next >
Text File  |  1992-08-29  |  3KB  |  85 lines

  1. /* cfged.rc
  2.  *
  3.  * Resource description file for CFGED
  4.  *
  5.  * Language        : RC-Language
  6.  * Operating System: OS/2 V2.0 and higher
  7.  * Compiler        : OS/2 2.0 resource compiler
  8.  *
  9.  *
  10.  * $Id: cfged.rc,v 1.3 1992/08/29 16:11:58 gruen Exp $
  11.  * $Log: cfged.rc,v $
  12. # Revision 1.3  1992/08/29  16:11:58  gruen
  13. # Fixed several bugs. This will become the official beta-release.
  14. #
  15. # Revision 1.2  1992/08/09  21:55:23  gruen
  16. # beta release 1.0 of cfged. Changed the architecture: now using a dialog
  17. # box as main window. As an result the accelerators now work. As goodie
  18. # there is a new special-browser for HELP and last but not least the
  19. # warning at the end of the program occures only if there not saved
  20. # changes to the configuration.
  21. #
  22.  * Revision 1.1  1992/07/17  22:52:48  gruen
  23.  * Initial revision
  24.  *
  25.  *
  26.  * Copyright (c) 1992 Lutz Grueneberg
  27.  *
  28.  * This library is free software; you can redistribute it and/or modify
  29.  * it under the terms of the GNU Library General Public License as
  30.  * published by the Free Software Foundation; either version 2 of the
  31.  * License, or (at your option) any later version.  This library is
  32.  * distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
  33.  * without even the implied warranty of MERCHANTABILITY or FITNESS FOR
  34.  * A PARTICULAR PURPOSE.  See the GNU Library General Public License for
  35.  * more details. You should have received a copy of the GNU Library
  36.  * General Public License along with this library; if not, write to the
  37.  * Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
  38.  */
  39. #include <os2.h>
  40. #include "cfged.h"
  41. #include "maindlg.h"
  42.  
  43. /* Identification of the program icon. */
  44.  
  45.   POINTER  IDP_MAIN  cfged.ico
  46.  
  47.  
  48. /* Script for Menu Bar. */
  49.  
  50.   MENU IDM_MAIN 
  51.     {
  52.      SUBMENU "~File",                 IDM_FILE
  53.        {
  54.         MENUITEM "~Open\tCtrl+O",        IDM_OPEN
  55.         MENUITEM "~Save\tCtrl+S",        IDM_SAVE
  56.         /*MENUITEM "Save ~As...\tF5",      IDM_SAVEAS*/
  57.         MENUITEM SEPARATOR
  58.         MENUITEM "~Exit\tAlt+F4",        IDM_EXIT
  59.         MENUITEM SEPARATOR
  60.         MENUITEM "A~bout CfgEd...",      IDM_ABOUT
  61.        }
  62.      SUBMENU "~Special Browsers",        IDM_SPECIAL
  63.        {
  64.     MENUITEM "~PATH",        IDM_PATH
  65.     MENUITEM "~DPATH",        IDM_DPATH
  66.     MENUITEM "~LIBPATH",        IDM_LIBPATH
  67.     MENUITEM "~HELP",        IDM_HELP
  68. /*    MENUITEM "~Environment",    IDM_ENV    */
  69.        }
  70.     }
  71.  
  72. /* Script for the Accelerator Keys for the Menu Bar. */
  73.  
  74. rcinclude maindlg.dlg
  75.  
  76.   ACCELTABLE IDA_MAIN
  77.     {
  78.      "o",    IDM_OPEN, CONTROL
  79.      "s",    IDM_SAVE, CONTROL
  80.      VK_F4,  IDM_EXIT, VIRTUALKEY, ALT
  81.     }
  82.  
  83.  
  84.  
  85.