Click here to Skip to main content
15,886,873 members
Articles / Programming Languages / C++

Image Viewer Utility

Rate me:
Please Sign up or sign in to vote.
4.94/5 (50 votes)
10 Mar 2007CPOL18 min read 406.8K   19.2K   200  
A little utility program that allows you to view the contents of memory bitmaps and device contexts while you are stepping through your drawing code.
//{{NO_DEPENDENCIES}}
// Microsoft Visual C++ generated include file.
// Used by ImageViewer.rc
//
#define IDD_ABOUTBOX                    100
#define IDR_MAINFRAME                   128
#define IDR_IMAGEVIEWERTYPE             129
#define IDS_CAPTION                     130
#define IDS_TITLE                       131
#define IDI_PJA                         132
#define IDS_PAUSEDMESSAGE               132
#define IDB_GRIDBRUSH                   133
#define IDS_COLOURTOOLTIP               134
#define IDD_SELECTIMAGE                 135
#define IDD_DELETEIMAGE                 137
#define IDD_PROPERTIES                  138
#define IDB_GRAYTOOLBAR                 139
#define IDB_COLOURTOOLBAR               140
#define IDD_SAVEPROGRESS                141
#define IDB_MEMUSAGE                    142
#define IDS_WAITDELETE                  143
#define IDS_SAVINGIMAGE                 144
#define IDS_LOADINGIMAGE                145
#define IDD_DIALOG1                     146
#define IDD_DIALOG_MAXMEM               146
#define IDC_EDIT1                       1000
#define IDC_CURRENT                     1001
#define IDC_ALL                         1002
#define IDC_SELECT                      1003
#define IDC_TO                          1004
#define IDC_STATICFROM                  1005
#define IDC_FROM                        1006
#define IDC_STATICTO                    1007
#define IDC_STATICWIDTH                 1008
#define IDC_STATICHEIGHT                1009
#define IDC_STATICBITS                  1010
#define IDC_STATICFILE                  1011
#define IDC_STATICLINE                  1012
#define IDC_STATICTIME                  1013
#define IDC_EDITTEXT                    1014
#define IDC_STATIC_LINK                 1015
#define IDC_SPINNUMBER                  1016
#define IDC_STATICSAVING                1017
#define IDC_PROGRESSSAVING              1018
#define IDC_SPINMAXMEM                  1019
#define IDC_STATICTEXT                  1020
#define IDC_EDITMAXMEM                  1021
#define IDC_LICENSE                     1022
#define ID_VIEW_HEXADECIMALTOOLTIPS     32768
#define ID_VIEW_GRID                    32769
#define ID_VIEW_NEXTIMAGE               32770
#define ID_VIEW_PREVIOUSIMAGE           32771
#define ID_VIEW_SELECTIMAGE             32772
#define ID_VIEW_BACKGROUNDCOLOUR        32773
#define ID_ZOOM_ZOOMIN                  32774
#define ID_ZOOM_ZOOMOUT                 32775
#define ID_VIEW_FIRSTIMAGE              32776
#define ID_VIEW_LASTIMAGE               32777
#define ID_VIEW_DISPLAYLOCK             32778
#define ID_VIEW_PROPERTIES              32779
#define ID_FILE_ALWAYSONTOP             32780
#define ID_IMAGE_DELETE                 32781
#define ID_VIEW_CENTERMOUSE             32782
#define ID_FILE_CLOSE_VIEW              32783
#define ID_IMAGE_SAVE                   32784
#define ID_INDICATOR_MEM                32785
#define ID_FILE_STOP                    32787
#define ID_FILE_PAUSE                   32788
#define ID_SETUP_MEMORY                 32789

// Next default values for new objects
// 
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_NEXT_RESOURCE_VALUE        150
#define _APS_NEXT_COMMAND_VALUE         32792
#define _APS_NEXT_CONTROL_VALUE         1023
#define _APS_NEXT_SYMED_VALUE           104
#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, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
President
Canada Canada
Father of two, brother of two, child of two.
Spouse to one, uncle to many, friend to lots.
Farmer, carpenter, mechanic, electrician, but definitely not a plumber.
Likes walks with the wife, board games, card games, travel, and camping in the summer.
High school graduate, college drop-out.
Hobby programmer who knows C++ with MFC and the STL.
Has dabbled with BASIC, Pascal, Fortran, COBOL, C#, SQL, ASM, and HTML.
Realized long ago that programming is fun when there is nobody pressuring you with schedules and timelines.

Comments and Discussions