home *** CD-ROM | disk | FTP | other *** search
- /*
- ** $id: ssvcid bitmaps.rc 1.1 11/12/91 8:38 am$
- ** Bitmap and Icon file demo program resource file.
- **
- ** (C) 1991 Larry Widing
- */
- #include "windows.h"
- #include "bitmaps.h"
-
- Bitmaps ICON bitmaps.ico
-
- /*
- ** Dialogs
- */
- #include "about.dlg"
- #include "openfile.dlg"
- #include "savefile.dlg"
-
- /*
- ** Main Menu Definition
- */
- Bitmaps MENU
- BEGIN
- POPUP "&File"
- BEGIN
- MENUITEM "Load &bitmap\tAlt+B", IDM_FILE_OPENBITMAP
- MENUITEM "Load &icon\tAlt+I", IDM_FILE_OPENICON
- MENUITEM SEPARATOR
- POPUP "Save &Format"
- BEGIN
- MENUITEM "&Normal Bitmap", IDM_FILE_FMT_DIB
- MENUITEM "&Run Length Encoded", IDM_FILE_FMT_RLE
- MENUITEM "&OS/2 Bitmap", IDM_FILE_FMT_OS2
- END
-
- MENUITEM "&Save bitmap\tAlt+S", IDM_FILE_SAVEBITMAP
- MENUITEM SEPARATOR
- MENUITEM "&Print\tAlt+P", IDM_FILE_PRINT, GRAYED
- MENUITEM "Printer &Setup...", IDM_FILE_PRSETUP, GRAYED
- MENUITEM SEPARATOR
- MENUITEM "E&xit\tF3", IDM_FILE_EXIT
- MENUITEM "A&bout...", IDM_FILE_ABOUT
- END
-
- POPUP "&Edit"
- BEGIN
- MENUITEM "&Copy\tCtrl+Insert", IDM_EDIT_COPY
- MENUITEM "&Paste\tShift+Insert", IDM_EDIT_PASTE
- END
-
- POPUP "I&nformation"
- BEGIN
- MENUITEM "&About current image...", IDM_INFO_ABOUT
- END
-
- POPUP "&Conversion"
- BEGIN
- MENUITEM "Convert image to:", -1, INACTIVE
- MENUITEM " &Logical bitmap", IDM_CONVERT_LOGICAL
- MENUITEM " Windows &DIB", IDM_CONVERT_DIB
- MENUITEM " &Compressed DIB", IDM_CONVERT_RLE
- MENUITEM " &OS/2 bitmap", IDM_CONVERT_OS2
- END
-
- END
-
- /*
- ** Accelerator Table Definition
- */
- Bitmaps ACCELERATORS
- BEGIN
- "b", IDM_FILE_OPENBITMAP, VIRTKEY, ALT
- "i", IDM_FILE_OPENICON, VIRTKEY, ALT
- "s", IDM_FILE_SAVEBITMAP, VIRTKEY, ALT
- "p", IDM_FILE_PRINT, VIRTKEY, ALT
- VK_F3, IDM_FILE_EXIT, VIRTKEY
- VK_INSERT, IDM_EDIT_COPY, VIRTKEY, CONTROL
- VK_INSERT, IDM_EDIT_PASTE, VIRTKEY, SHIFT
- END
-
- /*
- ** String Table
- */
- STRINGTABLE
- BEGIN
- 1, "Bitmap Demo (c) 1991 Larry Widing"
- END
-
- /*
- ** Modification History
- ** --------------------
- ** $lgb$
- ** 10/15/91 Larry Widing Initial version for Win Tech Journal Article.
- ** 11/12/91 Larry Widing Added Conversion Menu and print options.
- ** $lge$
- */
-