Click here to Skip to main content
15,886,798 members
Articles / Desktop Programming / MFC

A Better Bitmap Button Class

Rate me:
Please Sign up or sign in to vote.
3.46/5 (14 votes)
14 Oct 2001 397.8K   9.2K   80  
An improvement on the CBitmapButton class.
//{{NO_DEPENDENCIES}}
// Microsoft Developer Studio generated include file.
// Used by button.rc
//
#define IDM_ABOUTBOX                    0x0010
#define IDD_ABOUTBOX                    100
#define IDS_ABOUTBOX                    101
#define IDD_BUTTON_DIALOG               102
#define IDR_MAINFRAME                   128
#define IDB_UP                          129
#define IDB_DOWN                        130
#define IDB_DISABLED                    131
#define IDB_PICTURE_UP                  132
#define IDB_PICTURE_DOWN                133
#define IDB_PICTURE_DISABLED            134
#define IDI_JMNCO                       140
#define IDC_ENABLE                      1000
#define IDC_BUTTON                      1001
#define IDC_LEFT                        1002
#define IDC_HCENTER                     1003
#define IDC_RIGHT                       1004
#define IDC_HEIGHT                      1005
#define IDC_SPINHEIGHT                  1006
#define IDC_SMILEY                      1007
#define IDC_TOP                         1008
#define IDC_VCENTER                     1009
#define IDC_BOTTOM                      1010
#define IDC_WIDTH                       1011
#define IDC_SPINWIDTH                   1012
#define IDC_PICTURE                     1013
#define IDC_LIMIT                       1014
#define IDC_FILL                        1015
#define IDC_AUTOGRAY                    1016
#define IDC_DOWNUP                      1017
#define IDC_TOGGLE                      1018
#define IDC_CHECK1                      1019
#define IDC_BUTTON2                     1020

// Next default values for new objects
// 
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_NEXT_RESOURCE_VALUE        135
#define _APS_NEXT_COMMAND_VALUE         32771
#define _APS_NEXT_CONTROL_VALUE         1021
#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.


Written By
Retired
United States United States
PhD, Computer Science, Carnegie Mellon University, 1975
Certificate in Forensic Science and the Law, Duquesne University, 2008

Co-Author, [i]Win32 Programming[/i]

Comments and Discussions