home *** CD-ROM | disk | FTP | other *** search
/ World of Shareware - Software Farm 2 / wosw_2.zip / wosw_2 / CPROG / WBITMAP.ZIP / BITMAPS.RC < prev    next >
Text File  |  1991-11-12  |  2KB  |  97 lines

  1. /*
  2. **    $id: ssvcid bitmaps.rc 1.1 11/12/91  8:38 am$
  3. **        Bitmap and Icon file demo program resource file.
  4. **
  5. **    (C) 1991 Larry Widing
  6. */
  7. #include    "windows.h"
  8. #include    "bitmaps.h"
  9.  
  10. Bitmaps    ICON    bitmaps.ico
  11.  
  12. /*
  13. **    Dialogs
  14. */
  15. #include "about.dlg"
  16. #include    "openfile.dlg"
  17. #include    "savefile.dlg"
  18.  
  19. /*
  20. **    Main Menu Definition
  21. */
  22. Bitmaps MENU 
  23. BEGIN
  24.     POPUP "&File"
  25.     BEGIN
  26.         MENUITEM "Load &bitmap\tAlt+B", IDM_FILE_OPENBITMAP
  27.         MENUITEM "Load &icon\tAlt+I", IDM_FILE_OPENICON
  28.         MENUITEM SEPARATOR
  29.         POPUP "Save &Format"
  30.         BEGIN
  31.             MENUITEM "&Normal Bitmap", IDM_FILE_FMT_DIB
  32.             MENUITEM "&Run Length Encoded", IDM_FILE_FMT_RLE
  33.             MENUITEM "&OS/2 Bitmap", IDM_FILE_FMT_OS2
  34.         END
  35.  
  36.         MENUITEM "&Save bitmap\tAlt+S", IDM_FILE_SAVEBITMAP
  37.         MENUITEM SEPARATOR
  38.         MENUITEM "&Print\tAlt+P", IDM_FILE_PRINT, GRAYED
  39.         MENUITEM "Printer &Setup...", IDM_FILE_PRSETUP, GRAYED
  40.         MENUITEM SEPARATOR
  41.         MENUITEM "E&xit\tF3", IDM_FILE_EXIT
  42.         MENUITEM "A&bout...", IDM_FILE_ABOUT
  43.     END
  44.  
  45.     POPUP "&Edit"
  46.     BEGIN
  47.         MENUITEM "&Copy\tCtrl+Insert", IDM_EDIT_COPY
  48.         MENUITEM "&Paste\tShift+Insert", IDM_EDIT_PASTE
  49.     END
  50.  
  51.     POPUP "I&nformation"
  52.     BEGIN
  53.         MENUITEM "&About current image...", IDM_INFO_ABOUT
  54.     END
  55.  
  56.     POPUP "&Conversion"
  57.     BEGIN
  58.         MENUITEM "Convert image to:", -1, INACTIVE
  59.         MENUITEM " &Logical bitmap", IDM_CONVERT_LOGICAL
  60.         MENUITEM " Windows &DIB", IDM_CONVERT_DIB
  61.         MENUITEM " &Compressed DIB", IDM_CONVERT_RLE
  62.         MENUITEM " &OS/2 bitmap", IDM_CONVERT_OS2
  63.     END
  64.  
  65. END
  66.  
  67. /*
  68. **    Accelerator Table Definition
  69. */
  70. Bitmaps    ACCELERATORS
  71. BEGIN
  72.     "b",            IDM_FILE_OPENBITMAP, VIRTKEY, ALT
  73.     "i",            IDM_FILE_OPENICON, VIRTKEY, ALT
  74.     "s",            IDM_FILE_SAVEBITMAP, VIRTKEY, ALT
  75.     "p",            IDM_FILE_PRINT, VIRTKEY, ALT
  76.     VK_F3,        IDM_FILE_EXIT, VIRTKEY
  77.     VK_INSERT,    IDM_EDIT_COPY, VIRTKEY, CONTROL
  78.     VK_INSERT,    IDM_EDIT_PASTE, VIRTKEY, SHIFT
  79. END
  80.  
  81. /*
  82. **    String Table
  83. */
  84. STRINGTABLE
  85. BEGIN
  86.     1, "Bitmap Demo   (c) 1991 Larry Widing"
  87. END
  88.  
  89. /*
  90. **    Modification History
  91. **    --------------------
  92. **    $lgb$
  93. ** 10/15/91     Larry Widing   Initial version for Win Tech Journal Article.
  94. ** 11/12/91     Larry Widing   Added Conversion Menu and print options.
  95. **    $lge$
  96. */
  97.