home *** CD-ROM | disk | FTP | other *** search
- /*
- ** $id: ssvcid bitmaps.h 1.1 11/12/91 8:38 am$
- ** This file contains the functino prototypes, global variable defines,
- ** and constant defines used by the Bitmap and Icon deom program.
- **
- ** (C) 1991 Larry Widing
- */
- #ifndef __BITMAPS_H__
- #define CLRD_RGBLIST 101
- #define __BITMAPS_H__ 1
-
- /*
- ** Menu Item Defines
- */
- #define IDM_FILE_OPENBITMAP 101
- #define IDM_FILE_OPENICON 102
- #define IDM_FILE_SAVEBITMAP 103
- #define IDM_FILE_PRINT 104
- #define IDM_FILE_PRSETUP 105
- #define IDM_FILE_EXIT 106
- #define IDM_FILE_ABOUT 107
- #define IDM_FILE_FMT_DIB 111
- #define IDM_FILE_FMT_RLE 112
- #define IDM_FILE_FMT_OS2 113
- #define IDM_EDIT_COPY 121
- #define IDM_EDIT_PASTE 122
- #define IDM_INFO_ABOUT 131
- #define IDM_CONVERT_LOGICAL 141
- #define IDM_CONVERT_DIB 142
- #define IDM_CONVERT_RLE 143
- #define IDM_CONVERT_OS2 144
-
- /*
- ** Dialog Item IDs
- */
- #define IDD_FILENAME 101
-
- #ifndef RC_INVOKED
- /*
- ** Function prototypes
- */
- extern void ErrorBox(char *msg);
-
- /*
- ** Global Variables
- */
- extern HWND MainWindow; /* Handle to the application's main window */
- extern HANDLE AppInstance; /* Handle to application's instance */
- extern char FileName[128]; /* Name of file returned by open file dialog */
- extern HBITMAP BitmapHandle; /* Handle of currently loaded bitmap */
- extern HICON IconHandle; /* Handle of currently loaded icon */
- extern HANDLE DIBitmapHandle; /* Handle of packed DI Bitmap */
-
- #ifndef HUGE
- #define HUGE huge
- #endif
- #endif
-
- #endif /* !defined(__BITMAPS_H__) */
-
- /*
- ** Modification History
- ** --------------------
- ** $lgb$
- ** 10/15/91 Larry Widing Initial version for Win Tech Journal Article.
- ** 11/12/91 Larry Widing Added defines for print menu options and
- ** conversion menu.
- ** $lge$
- */
-