Click here to Skip to main content
15,880,392 members
Articles / Desktop Programming / MFC

An Image (GIF, JPEG, BMP, ICO, WMF and EMF) Viewer

Rate me:
Please Sign up or sign in to vote.
3.68/5 (15 votes)
25 Oct 2002 286K   7.1K   57  
A sample that can load, display, and print graphics files.
//{{NO_DEPENDENCIES}}
// Microsoft Developer Studio generated include file.
// Used by ImgViewer.rc
//
#define IDD_ABOUTBOX                    100
#define IDR_MAINFRAME                   128
#define IDR_IMGVIETYPE                  129
#define IDS_PROP                        129
#define IDS_PT_UNKNOWN                  130
#define IDS_PT_UNINITIALIZED            131
#define IDS_PT_NONE                     132
#define IDS_PT_BITMAP                   133
#define IDS_PT_METAFILE                 134
#define IDS_PT_ICON                     135
#define IDS_PT_ENHMETAFILE              136
#define IDS_PA_SCALABLE                 137
#define IDS_PA_TRANSPARENT              138
#define IDS_PA_NONE                     139
#define IDS_ERRLOADPIC                  140
#define ID_FILE_PROPERTIES              32774

// Next default values for new objects
// 
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_3D_CONTROLS                     1
#define _APS_NEXT_RESOURCE_VALUE        130
#define _APS_NEXT_COMMAND_VALUE         32776
#define _APS_NEXT_CONTROL_VALUE         1000
#define _APS_NEXT_SYMED_VALUE           101
#endif
#endif

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Software Developer
Canada Canada
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions