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

CButton with icon

Rate me:
Please Sign up or sign in to vote.
4.52/5 (24 votes)
12 Aug 2002CPOL 252.9K   7.3K   59  
A small class to create a button with an icon on it
//{{NO_DEPENDENCIES}}
// Microsoft Developer Studio generated include file.
// Used by ButtonEx.rc
//
#define IDD_BUTTONEX_DIALOG             102
#define IDR_MAINFRAME                   128
#define IDI_ICON1                       130
#define IDI_ICON5                       136
#define IDD_DIALOG1                     143
#define IDD_DIALOG2                     145
#define IDC_CHECK3                      1017
#define IDC_CHECK4                      1018
#define IDC_CHECK5                      1019
#define IDC_RADIO1                      1020
#define IDC_RADIO2                      1021
#define IDC_RADIO3                      1022
#define IDC_RADIO4                      1023
#define IDC_RADIO5                      1024
#define IDC_RADIO6                      1025
#define IDC_RADIO7                      1026
#define IDC_RADIO8                      1027
#define IDC_RADIO9                      1028
#define IDC_EDIT1                       1029
#define IDC_EDIT2                       1031
#define IDC_EDIT3                       1033
#define IDC_EDIT4                       1036
#define IDC_EDIT5                       1037
#define IDC_EDIT6                       1038
#define IDC_RADIO10                     1039
#define IDC_RADIO11                     1040

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


Written By
Software Developer www.rowa.de
Germany Germany
Working as software engineer since 2001. I started with c, c++ came up to c# and wpf today.

Comments and Discussions